dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d66ab
)
don't check for isset() when variable is always initialized
author
Erik Moeller
<erik@users.mediawiki.org>
Sun, 24 Apr 2005 01:31:31 +0000
(
01:31
+0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Sun, 24 Apr 2005 01:31:31 +0000
(
01:31
+0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
7fd5adc
..
a6b653e
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-741,7
+741,7
@@
class SkinTemplate extends Skin {
$nav_urls['sitesupport'] = array('href' => $wgSiteSupportPage);
$nav_urls['help'] = array('href' => $this->makeI18nUrl('helppage'));
if( $wgEnableUploads ) {
- if (
isset($wgUploadNavigationUrl)
) {
+ if (
$wgUploadNavigationUrl
) {
$nav_urls['upload'] = array('href' => $wgUploadNavigationUrl );
} else {
$nav_urls['upload'] = array('href' => $this->makeSpecialUrl('Upload'));