From c49ae4ae77fd8408877620a89b490139f7b1a8d9 Mon Sep 17 00:00:00 2001 From: mchurch Date: Thu, 9 Sep 2004 12:52:24 +0000 Subject: [PATCH] Fixed potential undefined variable. --- 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 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 ''; -- 2.39.5