We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ad0ee commit 50a6ba6Copy full SHA for 50a6ba6
views/default/forms/widget_manager/widget_page.php
@@ -1,7 +1,7 @@
1
<?php
2
3
$entity = elgg_extract('entity', $vars);
4
-if (!$entity->canEdit()) {
+if ($entity instanceof \WidgetPage && !$entity->canEdit()) {
5
throw new \Elgg\Exceptions\Http\EntityPermissionsException();
6
}
7
0 commit comments