Compatibility with higher php version
This commit is contained in:
parent
c028819cab
commit
a81a34badd
@ -947,7 +947,8 @@ if ($id)
|
|||||||
{
|
{
|
||||||
$showfield=1;
|
$showfield=1;
|
||||||
$align="left";
|
$align="left";
|
||||||
$valuetoshow=$obj->$fieldlist[$field];
|
$nameoffield = $fieldlist[$field];
|
||||||
|
$valuetoshow=$obj->$nameoffield;
|
||||||
if ($value == 'element')
|
if ($value == 'element')
|
||||||
{
|
{
|
||||||
$valuetoshow = isset($elementList[$valuetoshow])?$elementList[$valuetoshow]:$valuetoshow;
|
$valuetoshow = isset($elementList[$valuetoshow])?$elementList[$valuetoshow]:$valuetoshow;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user