diff options
author | Joas Schilling <coding@schilljs.com> | 2023-02-02 11:32:57 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-02-02 12:05:21 +0100 |
commit | c27c9fac98784e77e732fa2ad98f78ae752249ba (patch) | |
tree | 1311d22066c0e455809258a220d1b92834ae1ce2 /lib | |
parent | ac5df8e94f1ffdaa16b96c00927830dc607628b0 (diff) | |
download | nextcloud-server-c27c9fac98784e77e732fa2ad98f78ae752249ba.tar.gz nextcloud-server-c27c9fac98784e77e732fa2ad98f78ae752249ba.zip |
Try fixing Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Cache/Cache.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index ec284282178..380e4427e7d 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -977,7 +977,12 @@ class Cache implements ICache { $path = $result->fetchOne(); $result->closeCursor(); - return $path; + if ($path === false) { + return false; + } + + // Make sure Oracle does not continue with null for empty strings + return (string)$path; } /** |