summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcesium147 <3448068+cesium147@users.noreply.github.com>2020-01-28 12:12:59 +0300
committerGitHub <noreply@github.com>2020-01-28 12:12:59 +0300
commit5616e380ddf91e4441744e0328e402c27321b911 (patch)
tree5dce50946a8a0d51e63c1ef31753e7e4aae959cd
parenta84a1ea251d999da605baa06e9440a1b62e2fa14 (diff)
downloadphpvirtualbox-5616e380ddf91e4441744e0328e402c27321b911.zip
phpvirtualbox-5616e380ddf91e4441744e0328e402c27321b911.tar.gz
phpvirtualbox-5616e380ddf91e4441744e0328e402c27321b911.tar.bz2
FIX: function remote_snapshotTake
-rw-r--r--endpoints/lib/vboxconnector.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php
index c8d1269..5395d61 100644
--- a/endpoints/lib/vboxconnector.php
+++ b/endpoints/lib/vboxconnector.php
@@ -4706,7 +4706,7 @@ class vboxconnector {
$machine->lockMachine($this->session->handle, ((string)$machine->sessionState == 'Unlocked' ? 'Write' : 'Shared'));
/* @var $progress IProgress */
- list($progress, $snapshotId) = $this->session->machine->takeSnapshot($args['name'], $args['description'], null);
+ list($progress, $snapshotId) = $this->session->machine->takeSnapshot($args['name'], $args['description'], false);
// Does an exception exist?
try {
@@ -5842,4 +5842,4 @@ class vboxconnector {
return @$rcodes['0x'.strtoupper(dechex($c))] . ' (0x'.strtoupper(dechex($c)).')';
}
-} \ No newline at end of file
+}