Skip to content
Snippets Groups Projects
Commit 244d4e13 authored by Robin Appelman's avatar Robin Appelman Committed by Morris Jobke
Browse files

Make View->shouldEmitHooks more robust

parent 8d0e162d
No related branches found
No related tags found
No related merge requests found
......@@ -781,6 +781,9 @@ class View {
return false;
}
$defaultRoot = Filesystem::getRoot();
if ($defaultRoot === null) {
return false;
}
if ($this->fakeRoot === $defaultRoot) {
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment