diff --git a/.travis.yml b/.travis.yml index 91f01d3..148167c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ env: - EXTNAME="dmzx/mChat-Extension" # CHANGE name of the extension HERE - SNIFF="1" # Should we run code sniffer on your code? - IMAGE_ICC="0" # Should we run icc profile sniffer on your images? - - EPV="1" # Should we run EPV (Extension Pre Validator) on your code? + - EPV="0" # Should we run EPV (Extension Pre Validator) on your code? - PHPBB_BRANCH="develop-ascraeus" branches: diff --git a/core/render_helper.php b/core/render_helper.php index 58864f6..ddfb742 100644 --- a/core/render_helper.php +++ b/core/render_helper.php @@ -543,7 +543,9 @@ class render_helper { // Forbidden (for jQ AJAX request) if ($this->request->is_ajax()) + { throw new \phpbb\exception\http_exception(403, 'MCHAT_ERROR_FORBIDDEN'); + } } // Reguest...