diff --git a/ajax.php b/ajax.php
index b7c960c4d76aa149fc7705438e195a57a8a0ce4e..1e790b0fee708b7f3a9de4b6c8ef83c66c1ec4a2 100644
--- a/ajax.php
+++ b/ajax.php
@@ -71,7 +71,7 @@ switch($action) {
         }
 
         hvp_restrict_library($library_id, $restrict);
-        header('Cache-Control', 'no-cache');
+        header('Cache-Control: no-cache');
         header('Content-Type: application/json');
         echo json_encode(array(
             'url' => (new moodle_url('/mod/hvp/ajax.php', array(
@@ -110,7 +110,7 @@ switch($action) {
 
         $library = hvp_get_library_upgrade_info($library[0], $library[1], $library[2]);
 
-        header('Cache-Control', 'no-cache');
+        header('Cache-Control: no-cache');
         header('Content-Type: application/json');
         print json_encode($library);
 
@@ -136,7 +136,7 @@ switch($action) {
         if (filter_input(INPUT_SERVER, 'REQUEST_METHOD') === 'POST') {
             $library_id = required_param('library_id', PARAM_INT);
             $out = hvp_content_upgrade_progress($library_id);
-            header('Cache-Control', 'no-cache');
+            header('Cache-Control: no-cache');
             header('Content-Type: application/json');
             print json_encode($out);
         } else {