Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rating MDL-23814 marking rate_ajax.php as being an ajax so the respon…

…se should hopefully always be in json
  • Loading branch information...
commit 1bb1e5beb730d75e4f7dba79cdba534839cc4733 1 parent 3e40d2c
Andrew Davis authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  rating/rate_ajax.php
View
2  rating/rate_ajax.php
@@ -25,6 +25,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+define('AJAX_SCRIPT', true);
+
require_once('../config.php');
require_once('lib.php');
Please sign in to comment.
Something went wrong with that request. Please try again.