The variable $arraylist seems to be defined...
The variable $arraylist seems to be defined by a foreach iteration. Are you sure the iterator is never empty, otherwise this variable is not defined?
This commit is contained in:
parent
d5f11a5b88
commit
3227f12a6e
@ -228,6 +228,7 @@ class Form
|
|||||||
elseif (preg_match('/^select;/', $typeofdata))
|
elseif (preg_match('/^select;/', $typeofdata))
|
||||||
{
|
{
|
||||||
$arraydata = explode(',', preg_replace('/^select;/', '', $typeofdata));
|
$arraydata = explode(',', preg_replace('/^select;/', '', $typeofdata));
|
||||||
|
$arraylist = array();
|
||||||
foreach ($arraydata as $val)
|
foreach ($arraydata as $val)
|
||||||
{
|
{
|
||||||
$tmp = explode(':', $val);
|
$tmp = explode(':', $val);
|
||||||
@ -265,6 +266,7 @@ class Form
|
|||||||
elseif (preg_match('/^select;/', $typeofdata))
|
elseif (preg_match('/^select;/', $typeofdata))
|
||||||
{
|
{
|
||||||
$arraydata = explode(',', preg_replace('/^select;/', '', $typeofdata));
|
$arraydata = explode(',', preg_replace('/^select;/', '', $typeofdata));
|
||||||
|
$arraylist = array();
|
||||||
foreach ($arraydata as $val)
|
foreach ($arraydata as $val)
|
||||||
{
|
{
|
||||||
$tmp = explode(':', $val);
|
$tmp = explode(':', $val);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user