Skip to content
Browse files

Fixed potential undefined variable.

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

0 comments on commit c49ae4a

Please sign in to comment.
Something went wrong with that request. Please try again.