improve the output of the ajaxError to say what the action was and who the user was

This commit is contained in:
Isaac Connor
2020-02-06 13:21:57 -05:00
parent dd0ce50c17
commit 1cbc75813c

View File

@@ -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']);
?>