diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-18 08:40:52 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-18 08:40:52 -0700 |
commit | 6e054273f3da6f2b7dc9cf6d7b06a52740e2f4dc (patch) | |
tree | 1b80d6226130104cd915258724b5d3864cc1986b | |
parent | 82edd2a37bde6f42f5ff69c1363c5dbeb3cec599 (diff) |
Change the setting of page type from "item" to "photo". Thre is no page type
of item. All other references use photo for non album and non dynamic pages.
-rw-r--r-- | modules/gallery/helpers/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php index 5504dc95..a2d3859f 100644 --- a/modules/gallery/helpers/item.php +++ b/modules/gallery/helpers/item.php @@ -129,7 +129,7 @@ class item_Core { if (Input::instance()->get("page_type") == "album") { $page_type = "album"; } else { - $page_type = "item"; + $page_type = "photo"; } $form = new Forge("quick/delete/$item->id?page_type=$page_type", "", "post", array("id" => "gConfirmDelete")); $form->hidden("_method")->value("put"); |