aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-01-29 23:31:16 +0100
committerGitHub <noreply@github.com>2025-01-29 23:31:16 +0100
commitc13c6a4d24c72daf2f566fc65e8ddaba36894d38 (patch)
treec6f857a49707f220e538d8012ed432e70a513ee4
parent66521dbfebd2c2f9c811d08e5102a5f0ff62216c (diff)
downloadnextcloud-server-fix/30-oc-files.tar.gz
nextcloud-server-fix/30-oc-files.zip
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--lib/private/legacy/OC_Files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index 195e93cdd89..e4eefd52038 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -207,7 +207,7 @@ class OC_Files {
$logger->error($ex->getMessage(), ['exception' => $ex]);
$l = \OCP\Server::get(\OCP\L10N\IFactory::class)->get('lib');
- $hint = ($ex instanceof \OCP\HintException) ? $x->getHint() : '';
+ $hint = ($ex instanceof \OCP\HintException) ? $ex->getHint() : '';
if (isset($event) && $event->getErrorMessage() !== null) {
$hint .= ' ' . $event->getErrorMessage();
}