Commit 361421de authored by sun's avatar sun

#393186 by sun: Fixed fatal error: Only variables can be passed by reference.

parent 7a189598
......@@ -6,6 +6,7 @@ Demo x.x-x.x, xxxx-xx-xx
Demo 5.x-1.x, xxxx-xx-xx
------------------------
#393186 by sun: Fixed fatal error: Only variables can be passed by reference.
#372113 by sun: Fixed not all cache tables are skipped.
#369711 by smk-ka: Added confirmation before deleting a snapshot.
#369642 by smk-ka: Added checkbox to define new snapshot as default.
......
......@@ -11,7 +11,8 @@ if (!defined('MYSQLI_BINARY_FLAG')) {
*/
function demo_dump_db($filename, $exclude = array()) {
// Make sure we have permission to save our backup file.
if (!file_check_directory(dirname($filename), FILE_CREATE_DIRECTORY)) {
$directory = dirname($filename);
if (!file_check_directory($directory, FILE_CREATE_DIRECTORY)) {
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment