Try fixing Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/36375/head
Joas Schilling 3 years ago
parent ac5df8e94f
commit c27c9fac98
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
  1. 7
      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;
}
/**

Loading…
Cancel
Save