mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 21:58:10 +02:00
* added DibiTable
* new connection options: "result:objects" & "result:withtables" * renamed DibiDriverInterface -> IDibiDriver, DibiVariableInterface -> IDibiVariable
This commit is contained in:
@@ -129,7 +129,7 @@ final class DibiResultIterator implements Iterator
|
||||
*/
|
||||
public function valid()
|
||||
{
|
||||
return is_array($this->row) && ($this->limit < 0 || $this->pointer < $this->limit);
|
||||
return !empty($this->row) && ($this->limit < 0 || $this->pointer < $this->limit);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user