aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_notifications.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-05 13:50:59 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-05 13:50:59 -0500
commit868554cbaeaf7a23db2af4c97aa07c77e6ea98b0 (patch)
treec5d6575365629a0e6e627881b4a1c0cffb41df0c /phpBB/includes/ucp/ucp_notifications.php
parent54629aa87d3ef6f6fcb8ce8708e85ac039b98fa3 (diff)
downloadforums-868554cbaeaf7a23db2af4c97aa07c77e6ea98b0.tar
forums-868554cbaeaf7a23db2af4c97aa07c77e6ea98b0.tar.gz
forums-868554cbaeaf7a23db2af4c97aa07c77e6ea98b0.tar.bz2
forums-868554cbaeaf7a23db2af4c97aa07c77e6ea98b0.tar.xz
forums-868554cbaeaf7a23db2af4c97aa07c77e6ea98b0.zip
[ticket/11103] trigger_error message when preferences updated in UCP
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/ucp/ucp_notifications.php')
-rw-r--r--phpBB/includes/ucp/ucp_notifications.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php
index 9ea44f49bf..2cb14d05c9 100644
--- a/phpBB/includes/ucp/ucp_notifications.php
+++ b/phpBB/includes/ucp/ucp_notifications.php
@@ -64,6 +64,10 @@ class ucp_notifications
}
}
}
+
+ meta_refresh(3, $this->u_action);
+ $message = $user->lang['PREFERENCES_UPDATED'] . '<br /><br />' . sprintf($user->lang['RETURN_UCP'], '<a href="' . $this->u_action . '">', '</a>');
+ trigger_error($message);
}
// todo include language files for extensions?