mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Try fixing Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
ac5df8e94f
commit
c27c9fac98
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Reference in a new issue