We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b16e374 commit fc3e87fCopy full SHA for fc3e87f
bridges/php/handler.php
@@ -196,7 +196,7 @@ public function getContent($path)
196
197
if (Request::getApiParam('mode') === 'delete') {
198
$path = Request::getApiParam('path');
199
- $result = $oFtp->delete($path);
+ $result = $path ? $oFtp->delete($path) : false;
200
if (! $result) {
201
throw new Exception("Unknown error removing this item");
202
}
0 commit comments