aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/elgglib.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 2db75b6f7..b80bd9f70 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -299,6 +299,11 @@
return true;
}
+ // If we got here then check whether this exists as an extension
+ // Note that this currently does not recursively check whether the extended view exists also
+ if (isset($CONFIG->views->extensions[$view]))
+ return true;
+
return false;
}