diff options
Diffstat (limited to 'core/helpers/core_theme.php')
-rw-r--r-- | core/helpers/core_theme.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php index 0ccad457..57664b48 100644 --- a/core/helpers/core_theme.php +++ b/core/helpers/core_theme.php @@ -40,14 +40,14 @@ class core_theme_Core { } static function thumb_top($theme, $child) { - if ($child->type == "photo" && access::can("edit", $child)) { + if (access::can("edit", $child)) { $edit_link = url::site("quick/pane/$child->id"); return "<div class=\"gQuick\" href=\"$edit_link\">"; } } static function thumb_bottom($theme, $child) { - if ($child->type == "photo" && access::can("edit", $child)) { + if (access::can("edit", $child)) { return "</div>"; } } |