equal
deleted
inserted
replaced
345 else |
345 else |
346 echo "<option value=\"$row->produkt_ID\">$prod</option>\n"; |
346 echo "<option value=\"$row->produkt_ID\">$prod</option>\n"; |
347 } |
347 } |
348 } |
348 } |
349 */ |
349 */ |
350 $sql = "CALL prod_hiera_all(0,0)"; |
350 // Recht Produktgruppe beruecksichtigen |
|
351 if (is_array($_SESSION["prodg"])) |
|
352 { |
|
353 foreach ($_SESSION["prodg"] as $val) |
|
354 $listg .= "," .$val; |
|
355 $listg = substr($listg,1); |
|
356 $sql = "CALL fhiiqm.hier_prodgroup('$listg')"; |
|
357 } |
|
358 else |
|
359 $sql = "CALL fhiiqm.prod_hiera_all(0,0)"; |
351 if ($result = $dbc->queryObjectArray($sql)) |
360 if ($result = $dbc->queryObjectArray($sql)) |
352 { |
361 { |
353 foreach ($result as $row) |
362 foreach ($result as $row) |
354 { |
363 { |
355 if (strlen($row->bez) > 70) |
364 if (strlen($row->bez) > 70) |