Changeset:
667eae378df5
https://sourceforge.net/p/mrbs/hg-code/ci/667eae378df574ca34b82f0fde4b9cb22ac969b1
Author:
Campbell Morrison <[email protected]>
Date:
Wed May 31 06:17:20 2017 +0100
Log message:
Added an error message which would have helped in debugging SF Support Requests
#1238.
diffstat:
web/edit_users.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r ac4e4b9b927f -r 667eae378df5 web/edit_users.php
--- a/web/edit_users.php Wed May 31 06:11:44 2017 +0100
+++ b/web/edit_users.php Wed May 31 06:17:20 2017 +0100
@@ -525,6 +525,8 @@
array(utf8_strtolower($user)));
if (($level < $min_user_editing_level) && ($Id != $my_id ))
{
+ // It shouldn't normally be possible to get here.
+ trigger_error("Attempt made to update a user without sufficient rights.",
E_USER_NOTICE);
header("Location: edit_users.php");
exit;
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits