summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-18 23:40:52 +0800
committerTim Almdal <tnalmdal@shaw.ca>2009-08-19 21:16:02 +0800
commite3f5a8be903dd54a72b9c7694a21d63655999127 (patch)
tree51dc158c83dad2c3a7cafda0471ef685f3702139 /modules
parent3b8323d5b4db4904aba9ea2f922140ab235dd681 (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. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/item.php2
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");