Try fixing Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-02-02 11:32:57 +01:00
parent ac5df8e94f
commit c27c9fac98
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

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;
}
/**