diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 13:41:53 -0800 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 13:41:53 -0800 | 
| commit | 33b1d4b7efa8c6b825908f48c7e744578e7f9ae6 (patch) | |
| tree | 996cf9bbab43279edb28bb0c181e8cdfe4ce766e /modules/gallery | |
| parent | f50dbd992d6973caeaaa3139ddf5f908dd84ec79 (diff) | |
Convert one more instance of ORM::$loaded to ORM::loaded()
Diffstat (limited to 'modules/gallery')
| -rw-r--r-- | modules/gallery/controllers/items.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/modules/gallery/controllers/items.php b/modules/gallery/controllers/items.php index ec3681a3..bf1f80d4 100644 --- a/modules/gallery/controllers/items.php +++ b/modules/gallery/controllers/items.php @@ -20,7 +20,7 @@  class Items_Controller extends Controller {    public function __call($function, $args) {      $item = ORM::factory("item", (int)$function); -    if (!$item->loaded) { +    if (!$item->loaded()) {        return Kohana::show_404();      }      // Redirect to the more specific resource type, since it will render | 
