Fix error when viewing expired link
This commit is contained in:
parent
97f21712cd
commit
3d0661a1e7
|
@ -374,6 +374,9 @@ class Filesystem {
|
||||||
* Returns path like /admin/files
|
* Returns path like /admin/files
|
||||||
*/
|
*/
|
||||||
static public function getRoot() {
|
static public function getRoot() {
|
||||||
|
if (!self::$defaultInstance) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return self::$defaultInstance->getRoot();
|
return self::$defaultInstance->getRoot();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue