diff --git a/web/ajax/event.php b/web/ajax/event.php index cb4d3d7ad..9c2e57c2c 100644 --- a/web/ajax/event.php +++ b/web/ajax/event.php @@ -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']); ?>