Merge pull request #8177 from nextcloud/8160_13
[stable13] Do not try to get the jailed path if we can't find the id
This commit is contained in:
commit
0fc97b2104
|
@ -312,6 +312,10 @@ class CacheJail extends CacheWrapper {
|
|||
*/
|
||||
public function getPathById($id) {
|
||||
$path = $this->getCache()->getPathById($id);
|
||||
if ($path === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->getJailedPath($path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue