Skip to content
Permalink
Browse files

FIX #10406

  • Loading branch information...
eldy committed Feb 15, 2019
1 parent 0c32795 commit 794e7302cda3805cd8c225ec31d6d4ad6c701455
Showing with 3 additions and 2 deletions.
  1. +3 −2 htdocs/resource/class/html.formresource.class.php
@@ -107,13 +107,14 @@ function select_resource_list($selected = '', $htmlname = 'fk_resource', $filter
$out.= '<select id="'.$htmlname.'" class="flat minwidth200" name="'.$htmlname.'">'."\n";
if ($showempty) $out.= '<option value="-1">&nbsp;</option>'."\n";
$num = count($resourcestat->lines);
$num = 0;
if (is_array($resourcestat->lines)) $num = count($resourcestat->lines);
//var_dump($resourcestat->lines);
$i = 0;
if ($num)
{
while ( $i < $num)
while ($i < $num)
{
$resourceclass=ucfirst($resourcestat->lines[$i]->element);

0 comments on commit 794e730

Please sign in to comment.
You can’t perform that action at this time.