Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5823 | block | always | 11-10-14 06:19 | 11-10-14 06:19 | |
|
|||||
Reporter: | extremia | Platform: | |||
Assigned To: | OS: | Windows | |||
Priority: | normal | OS Version: | 7 | ||
Status: | new | Product Version: | 4.0.36 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0005823: Fatal Error: Can't use object 'com.caucho.quercus.lib.db.MysqliResult' as array | ||||
Description: | [14-11-10 15:58:47.052] {resin-port-8080-51} c:\Java\resin-pro-4.0.41\webapps\ROOT\webwidget\tilaus.yhteenveto.php:21: Fatal Error: Can't use object 'com.caucho.quercus.lib.db.MysqliResult' as array | ||||
Steps To Reproduce: |
Example code: $smsChoiceValue = $_SESSION['user']['companyid']; $sql = 'SELECT aySmsLaskutus FROM asiakasyritys LEFT JOIN tilaus on tilaus.tiYritId = ayId WHERE '.(!empty($smsChoiceValue) ? 'ayId = '.$smsChoiceValue : 'tilaus.tiSessionId = "'.$_SESSION['cust']['ordernumber'].'"'). ' LIMIT 1'; $result = $db1->Query($sql); $checked = $result['deliver'][$i]['ttSms'] == true ? 'checked' : ''; |
||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |