diff --git a/lib/FilesHooks.php b/lib/FilesHooks.php index 08097fea8..46e31a85c 100755 --- a/lib/FilesHooks.php +++ b/lib/FilesHooks.php @@ -138,7 +138,7 @@ public function __construct(IManager $manager, * @param string $path Path of the file that has been created */ public function fileCreate($path) { - if ($path === '/') { + if ($path === '/' || $path === '' || $path === null) { return; }