Browse Source

Try fixing Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v26.0.0beta2
Joas Schilling 1 year ago
parent
commit
c27c9fac98
No account linked to committer's email address
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      lib/private/Files/Cache/Cache.php

+ 6
- 1
lib/private/Files/Cache/Cache.php View File

@@ -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