fixed bug that occurred on wiki pages that had not been created yet

This commit is contained in:
tmont 2008-10-27 07:51:27 +00:00
parent 2fcad8618f
commit a04ef5280c

View File

@ -28,7 +28,11 @@
* @author Tommy Montgomery * @author Tommy Montgomery
* @since 2008-10-18 * @since 2008-10-18
*/ */
public function send() { ?> public function send() {
if (!($this->page instanceof WikiPageObject)) {
return;
}
?>
<div class="wikimenu"> <div class="wikimenu">
<ul class="menu"> <ul class="menu">