Permalink
Browse files

not requerying the db

  • Loading branch information...
1 parent 97dfdc4 commit 626f63956675162e506bbff63798c90fda98c3a1 @KellyLSB KellyLSB committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/listobj.php
View
@@ -816,7 +816,7 @@ public function _run_query($count = false, $extra = false, $raw = false) {
if(!isset(e::$$bundle))
throw new Exception("Bundle `$bundle` is not installed");
- $ppm = $this->_custom_query ? $row : e::$$bundle->$model($row['id']);
+ $ppm = $this->_custom_query ? $row : e::$$bundle->$model($row);
/**
* Set Flags

0 comments on commit 626f639

Please sign in to comment.