From d299414399bf7bff32900f6d32322dcb830dad81 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 3 Jan 2009 05:48:15 +0000 Subject: No quickedit for album thumbs (for now, anyway) --- core/helpers/core_block.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/helpers/core_block.php') diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index d161d9b4..be2c138b 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -25,7 +25,8 @@ class core_block_Core { $buf .= ""; } - if ($theme->page_type == "album" && access::can("edit", $theme->item())) { + if ($theme->page_type == "album" && $theme->item()->type == "photo" && + access::can("edit", $theme->item())) { $buf .= ""; $buf .= html::script("core/js/quickedit.js"); -- cgit v1.2.3