summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/quick.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-12 12:37:01 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-12 12:37:01 -0700
commit75be4ab2e62004811ba7086376bf5abeca4cf791 (patch)
treec510704619b98ebdf647010b9e88119170f98b2d /modules/gallery/controllers/quick.php
parentaa0209d6d3d8535b9bbaaaa6664aa5769ab5f8a6 (diff)
parente2967aa1c1a0232e1a1f162db46e6f6db7154dac (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/quick.php')
-rw-r--r--modules/gallery/controllers/quick.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/quick.php b/modules/gallery/controllers/quick.php
index 53af2ba6..de027c1b 100644
--- a/modules/gallery/controllers/quick.php
+++ b/modules/gallery/controllers/quick.php
@@ -127,6 +127,7 @@ class Quick_Controller extends Controller {
$msg = t("Deleted photo <b>%title</b>", array("title" => p::purify($item->title)));
}
+ $parent = $item->parent();
$item->delete();
message::success($msg);