Skip to content

Commit

Permalink
Revert "Selection: workaround for "Trying to get property of non-obje…
Browse files Browse the repository at this point in the history
…ct", thx to @hranicka, partially closes #15"

This reverts commit 3c44de6.
  • Loading branch information
dg committed Apr 22, 2015
1 parent 98b3610 commit 615803d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Database/Table/Selection.php
Original file line number Diff line number Diff line change
Expand Up @@ -972,10 +972,6 @@ public function offsetSet($key, $value)
public function offsetGet($key)
{
$this->execute();
if ($this->rows === NULL) {
$this->cache = NULL;
return $this->data[$key];
}
return $this->rows[$key];
}

Expand Down

0 comments on commit 615803d

Please sign in to comment.