diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 20:25:32 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-26 20:25:32 -0800 |
| commit | dee3ee81e2013f0b38e0f84123dec2ce12574bd7 (patch) | |
| tree | e785c7e1878d9aa7af03d3fd1cd2890cb983a1be /modules/gallery/controllers/photos.php | |
| parent | 3dd8bf245ea16fe1b9f1c27c4ad42d11d3cde1ee (diff) | |
Database::orwhere() is now Database_Builder::or_where()
Diffstat (limited to 'modules/gallery/controllers/photos.php')
| -rw-r--r-- | modules/gallery/controllers/photos.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/photos.php b/modules/gallery/controllers/photos.php index 478447b1..5431fcfe 100644 --- a/modules/gallery/controllers/photos.php +++ b/modules/gallery/controllers/photos.php @@ -78,7 +78,7 @@ class Photos_Controller extends Items_Controller { ->where("id", "<>", $photo->id) ->and_open() ->where("name", "=", $form->edit_item->filename->value) - ->orwhere("slug", "=", $form->edit_item->slug->value) + ->or_where("slug", "=", $form->edit_item->slug->value) ->close() ->get() ->current()) { |
