FIX #10406
This commit is contained in:
parent
0c327956c3
commit
794e7302cd
@ -107,7 +107,8 @@ class FormResource
|
|||||||
$out.= '<select id="'.$htmlname.'" class="flat minwidth200" name="'.$htmlname.'">'."\n";
|
$out.= '<select id="'.$htmlname.'" class="flat minwidth200" name="'.$htmlname.'">'."\n";
|
||||||
if ($showempty) $out.= '<option value="-1"> </option>'."\n";
|
if ($showempty) $out.= '<option value="-1"> </option>'."\n";
|
||||||
|
|
||||||
$num = count($resourcestat->lines);
|
$num = 0;
|
||||||
|
if (is_array($resourcestat->lines)) $num = count($resourcestat->lines);
|
||||||
|
|
||||||
//var_dump($resourcestat->lines);
|
//var_dump($resourcestat->lines);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user