Browse Source
Try fixing Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/36375/head
Joas Schilling
4 years ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
6 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|