Changeset:
        aa0a86b1b546
        
https://sourceforge.net/p/mrbs/hg-code/ci/aa0a86b1b546151b3b2e9e738dc447851151ab3f
Author:
        John Beranek <[email protected]>
Date:
        Tue Oct 04 23:32:09 2016 +0100
Log message:

Output JSON Content-Type in edit_users.php when appropriate

diffstat:

 web/edit_users.php |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r e54cd5a5be2b -r aa0a86b1b546 web/edit_users.php
--- a/web/edit_users.php        Tue Oct 04 21:09:59 2016 +0100
+++ b/web/edit_users.php        Tue Oct 04 23:32:09 2016 +0100
@@ -905,6 +905,7 @@
 
 if ($ajax)
 {
+  header("Content-Type: application/json");
   echo json_encode($json_data);
 }
 else

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to