Permalink
Browse files

Fixed potential undefined variable warning.

  • Loading branch information...
1 parent f80964c commit 8d0a45232132d913a173deaf3b8e3ca2cdf8a8ec mchurch committed Sep 9, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/view.php
View
@@ -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 '<table border="0">';

0 comments on commit 8d0a452

Please sign in to comment.