diff options
author | plegall <plg@piwigo.org> | 2010-07-27 12:30:59 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-07-27 12:30:59 +0000 |
commit | aadf746e49231df14c4a94ca31f9eb2979d9faed (patch) | |
tree | 89f52fded6e65d7a1b3241cc2b7700979b3fb345 /picture.php | |
parent | 8ce85643a61e2c896204bc05b2097a375e07d0f3 (diff) |
merge r6711 from branch 2.1 to trunk
add trigger for ExtendedDescription on photo name
git-svn-id: http://piwigo.org/svn/trunk@6712 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | picture.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/picture.php b/picture.php index 2fae0cda4..052ae4923 100644 --- a/picture.php +++ b/picture.php @@ -511,6 +511,8 @@ while ($row = pwg_db_fetch_assoc($result)) $picture[$i]['name'] = str_replace('_', ' ', $file_wo_ext); } + $picture[$i]['name'] = trigger_event('render_element_description', $picture[$i]['name']); + $picture[$i]['url'] = duplicate_picture_url( array( 'image_id' => $row['id'], |