Fix for php 5
This commit is contained in:
parent
faced82abe
commit
7fdf2f3482
@ -688,8 +688,8 @@ class ExtraFields
|
|||||||
elseif ($type == 'sellist')
|
elseif ($type == 'sellist')
|
||||||
{
|
{
|
||||||
$out='<select name="options_'.$key.'">';
|
$out='<select name="options_'.$key.'">';
|
||||||
|
$param_list=array_keys($param['options']);
|
||||||
$InfoFieldList = explode(":", array_keys($param['options'])[0]);
|
$InfoFieldList = explode(":", $param_list[0]);
|
||||||
|
|
||||||
var_export($param['options']);
|
var_export($param['options']);
|
||||||
// 0 1 : tableName
|
// 0 1 : tableName
|
||||||
@ -830,7 +830,8 @@ class ExtraFields
|
|||||||
}
|
}
|
||||||
elseif ($type == 'sellist')
|
elseif ($type == 'sellist')
|
||||||
{
|
{
|
||||||
$InfoFieldList = explode(":", array_keys($params['options'])[0]);
|
$param_list=array_keys($params['options']);
|
||||||
|
$InfoFieldList = explode(":", $param_list[0]);
|
||||||
$keyList='rowid';
|
$keyList='rowid';
|
||||||
if (count($InfoFieldList)==3)
|
if (count($InfoFieldList)==3)
|
||||||
$keyList=$InfoFieldList[2];
|
$keyList=$InfoFieldList[2];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user