diff options
author | plegall <plg@piwigo.org> | 2014-03-12 13:35:41 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-03-12 13:35:41 +0000 |
commit | fadbc982598b2a342c968ab0b8d7c75dd6845d83 (patch) | |
tree | 9b5e9e7ae870f07036ded5567b0c55ebaa8af0eb /admin | |
parent | 5b0a3e226dc3c601813694e70ca6630cf2c75ef7 (diff) |
merge r27713 from branch 2.6 to trunk
feature 3014: new trigger picture_modify_before_update
git-svn-id: http://piwigo.org/svn/trunk@27714 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/picture_modify.php | 2 |
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, |