Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php')
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php b/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php
index 7ac528198a9..93f2c1b3e2e 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/Exception/Exception.php
@@ -14,7 +14,7 @@ class Exception extends \Exception {
$message .= ' for ' . $path;
}
- return new Exception($message, $error);
+ return new Exception($message, is_string($error) ? 0 : $error);
}
/**