summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-15 04:38:21 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-15 04:38:21 +0000
commit4cdd3ae0de41e049db6b5a6bcba2cf9c875f1d42 (patch)
tree1ea268aae87aa559e0c48d4c23bd3f0da4293172
parent7c0655bb36cc8c681e2d6b0843a1a6e0f7ed4a58 (diff)
Allow rotation for photos, not albums (duh)
-rw-r--r--core/views/quick_pane.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php
index 60cbb426..744575fc 100644
--- a/core/views/quick_pane.html.php
+++ b/core/views/quick_pane.html.php
@@ -6,7 +6,7 @@
</span>
</a>
-<? if ($item->is_album() && graphics::can("rotate")): ?>
+<? if ($item->is_photo() && graphics::can("rotate")): ?>
<a class="clockwise" href="<?= url::site("quick/rotate/$item->id/cw?csrf=" . access::csrf_token()) ?>"
title="<?= t("Rotate 90 degrees clockwise") ?>">
<span>