* Db/Database.php: Scrollable cursor: simplified result assignment
/trunk/Db/Database.php |
---|
681,14 → 681,9 |
$result =& $this->_lastResult; |
if ($fetchAll) |
{ |
$result = $stmt->fetchAll($fetch_style); |
} |
else |
{ |
$result = $stmt; |
} |
$result = ($fetchAll |
? $stmt->fetchAll($fetch_style) |
: $stmt); |
if (defined('DEBUG') && DEBUG > 1) |
{ |