]> git.mjollnir.org Git - moodle.git/commitdiff
Return backup_config records as an object instead of an array.
authorstronk7 <stronk7>
Thu, 27 Nov 2003 23:33:20 +0000 (23:33 +0000)
committerstronk7 <stronk7>
Thu, 27 Nov 2003 23:33:20 +0000 (23:33 +0000)
backup/lib.php

index cfec8597f6adeff0b96109beddcd77922817b309..30539d4f82b555a6ec09a293e36b65f1c12d46b2 100644 (file)
@@ -21,7 +21,7 @@
                 $backup_config[$config->name] = $config->value;
             }
         }
-        return $backup_config;
+        return (object)$backup_config;
     }
 
     //Delete old data in backup tables (if exists)