aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-03-12 13:33:50 +0000
committerplegall <plg@piwigo.org>2014-03-12 13:33:50 +0000
commit9cc4ce45d8dd3c7aaeb33a5f44c2288e8ad65805 (patch)
tree5f1719474eae237939e246aaa00955e6752a0f1b /admin/picture_modify.php
parent3ced01436b5afaf806db66442a2058b3c321d2ec (diff)
feature 3014: new trigger picture_modify_before_update
git-svn-id: http://piwigo.org/svn/branches/2.6@27713 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/picture_modify.php')
-rw-r--r--admin/picture_modify.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 25c74a8c1..23b28b78f 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -154,6 +154,8 @@ if (isset($_POST['submit']) and count($page['errors']) == 0)
$data{'date_creation'} = null;
}
+ $data = trigger_change('picture_modify_before_update', $data);
+
single_update(
IMAGES_TABLE,
$data,