Skip to content

Commit 615803d

Browse files
committed
Revert "Selection: workaround for "Trying to get property of non-object", thx to @hranicka, partially closes #15"
This reverts commit 3c44de6.
1 parent 98b3610 commit 615803d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Database/Table/Selection.php

-4
Original file line numberDiff line numberDiff line change
@@ -972,10 +972,6 @@ public function offsetSet($key, $value)
972972
public function offsetGet($key)
973973
{
974974
$this->execute();
975-
if ($this->rows === NULL) {
976-
$this->cache = NULL;
977-
return $this->data[$key];
978-
}
979975
return $this->rows[$key];
980976
}
981977

0 commit comments

Comments
 (0)