diff --git a/src/lib/views/wiki/WikiPageMenuView.php b/src/lib/views/wiki/WikiPageMenuView.php index 59551c5..038a6f1 100644 --- a/src/lib/views/wiki/WikiPageMenuView.php +++ b/src/lib/views/wiki/WikiPageMenuView.php @@ -28,7 +28,11 @@ * @author Tommy Montgomery * @since 2008-10-18 */ - public function send() { ?> + public function send() { + if (!($this->page instanceof WikiPageObject)) { + return; + } + ?>