diff options
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/src/NotifyHandler.php')
-rw-r--r-- | apps/files_external/3rdparty/icewind/smb/src/NotifyHandler.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/src/NotifyHandler.php b/apps/files_external/3rdparty/icewind/smb/src/NotifyHandler.php index 194e848502b..6ad565555bf 100644 --- a/apps/files_external/3rdparty/icewind/smb/src/NotifyHandler.php +++ b/apps/files_external/3rdparty/icewind/smb/src/NotifyHandler.php @@ -59,7 +59,10 @@ class NotifyHandler implements INotifyHandler { public function listen($callback) { if ($this->listening) { $this->connection->read(function ($line) use ($callback) { - return $callback($this->parseChangeLine($line)); + $change = $this->parseChangeLine($line); + if ($change) { + return $callback($change); + } }); } } |