Return backup_config records as an object instead of an array.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user