| #368 | $query = $this->query($sql, $this->rlink); |
| #369 | if(!is_object($query)) { |
| #370 | if( defined('DEBUG') && DEBUG ){ |
| #371 | $error = $this->rlink->errorInfo(); |
| #372 | throw new Exception("Errno: $error[0], Errstr: $error[2]"); |
| #373 | } |
| #374 | return array(); |
| #375 | } |
| #376 | $r = $query->setFetchMode(PDO::FETCH_ASSOC); |
| #377 | if( !$r ){ |