From: mchurch Date: Thu, 9 Sep 2004 12:52:24 +0000 (+0000) Subject: Fixed potential undefined variable. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c49ae4ae77fd8408877620a89b490139f7b1a8d9;p=moodle.git Fixed potential undefined variable. --- diff --git a/mod/wiki/view.php b/mod/wiki/view.php index 728c259b2a..d1e9e0351e 100644 --- a/mod/wiki/view.php +++ b/mod/wiki/view.php @@ -302,7 +302,7 @@ // The wiki Contents - if ($canedit) { /// Print tabs with commands for this page + if (!empty($canedit)) { /// Print tabs with commands for this page $tabstyle = ' style="padding-left: 5px;padding-right: 5px" '; echo '';