mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-30 06:25:13 -04:00
improve the output of the ajaxError to say what the action was and who the user was
This commit is contained in:
1 parent
dd0ce50c17
commit
1cbc75813c
1 file changed
+1
-1
+1
-1
@@ -155,5 +155,5 @@ if ( canEdit('Events') ) {
|
||||
} // end switch action
|
||||
} // end if canEdit('Events')
|
||||
|
||||
ajaxError('Unrecognised action or insufficient permissions');
|
||||
ajaxError('Unrecognised action '.$_REQUEST['action'].' or insufficient permissions for user ' . $user['Username']);
|
||||
?>
|
||||
Reference in new issue
Block a user