diff options
Diffstat (limited to 'profile.php')
-rw-r--r-- | profile.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/profile.php b/profile.php index 922f4c6d1..5b244edf2 100644 --- a/profile.php +++ b/profile.php @@ -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']); |