From 8d0a45232132d913a173deaf3b8e3ca2cdf8a8ec Mon Sep 17 00:00:00 2001 From: mchurch Date: Thu, 9 Sep 2004 12:47:44 +0000 Subject: [PATCH] Fixed potential undefined variable warning. --- mod/wiki/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/wiki/view.php b/mod/wiki/view.php index 195ffddc1d1..447de70bbc7 100644 --- a/mod/wiki/view.php +++ b/mod/wiki/view.php @@ -297,7 +297,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 '';