IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2016, 6:26:07 AM (10 years ago)
Author:
eugene
Message:

fix MDB2 DBI methods; avoid php warnings by putting quotes around hash arguments; check for hash element existence before using; simplify code with get_htmlkey_value function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/histogram.php

    r28433 r39498  
    101101  menu_end();
    102102}
    103 if (!$qry->fetchInto($row)) {
     103if (!dbFetchInto($qry, $row)) {
    104104  echo "<b>error reading camRun, chipRun, rawExp, camProcessedExp table count</b><br>\n";
    105105  echo "<br><small><b> count query : $sql </b></small><br>\n";
     
    376376}
    377377// ** TAIL CODE **
    378 while ($qry->fetchInto($row)) {
     378while (dbFetchInto($qry, $row)) {
    379379  foreach ($keysToRowIndex as $i => $value) {
    380380    if (get_value_from_key($i, TRUE) == "on") {
Note: See TracChangeset for help on using the changeset viewer.