mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
- fix help files
- feature 695 added action loc_user_profile_updated in profile.php - added event allow_increment_element_hit_count in picture.php git-svn-id: http://piwigo.org/svn/trunk@2048 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-1
@@ -194,7 +194,8 @@ function save_profile_from_post(&$userdata, &$errors)
|
||||
array('primary' => array('user_id'), 'update' => $fields),
|
||||
array($data));
|
||||
|
||||
// redirection
|
||||
trigger_action( 'loc_user_profile_updated', $_POST['userid'] );
|
||||
|
||||
if (!empty($_POST['redirect']))
|
||||
{
|
||||
redirect($_POST['redirect']);
|
||||
|
||||
Reference in New Issue
Block a user