Permalink
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...
1 parent 3e40d2c commit 1bb1e5beb730d75e4f7dba79cdba534839cc4733 Andrew Davis committed Aug 15, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 rating/rate_ajax.php
View
@@ -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');

0 comments on commit 1bb1e5b

Please sign in to comment.