From: Gabriel Wicke Date: Thu, 15 Apr 2004 23:17:00 +0000 (+0000) Subject: another warning X-Git-Tag: 1.3.0beta1~408 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=8467a3dd4c57588573790480232fff913efbe07d;p=lhc%2Fweb%2Fwiklou.git another warning --- diff --git a/includes/Skin.php b/includes/Skin.php index 806ef1591d..8ea26e8af3 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -220,7 +220,7 @@ class Skin { (!$wgTitle->isProtected() || $wgUser->isSysop()) ) { $t = wfMsg( "editthispage" ); $oid = $red = ""; - if ( $redirect ) { + if ( !empty($redirect) ) { $red = "&redirect={$redirect}"; } if ( !empty($oldid) && ! isset( $diff ) ) { @@ -2544,7 +2544,7 @@ class Skin { ); $toolbar =""; + $toolbar.="/*]]>*/\n"; return $toolbar; } }