fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)

can not unset variable bind to column, as it looses its bind
This commit is contained in:
Ralf Becker 2017-06-21 09:42:46 +02:00
parent f7a9c253a9
commit 4b379776b3

View File

@ -55,7 +55,7 @@ class Utils extends StreamWrapper
$content = fopen('php://temp', 'wb');
fwrite($content, $fs_content);
fseek($content, 0, SEEK_SET);
unset($fs_content);
$fs_content = ''; // can NOT unset it, at least in PHP 7 it looses bind to column!
}
else
{