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:
a88c852
)
Fixed bug that caused an undefined index error - now we check the key before checking...
author
Trevor Parscal
<tparscal@users.mediawiki.org>
Wed, 5 Aug 2009 16:38:08 +0000
(16:38 +0000)
committer
Trevor Parscal
<tparscal@users.mediawiki.org>
Wed, 5 Aug 2009 16:38:08 +0000
(16:38 +0000)
skins/Vector.php
patch
|
blob
|
history
diff --git
a/skins/Vector.php
b/skins/Vector.php
index
cc58655
..
517b081
100644
(file)
--- a/
skins/Vector.php
+++ b/
skins/Vector.php
@@
-418,7
+418,7
@@
class VectorTemplate extends QuickTemplate {
foreach ( $this->data['personal_urls'] as $key => $item) {
$this->data['personal_urls'][$key]['attributes'] =
' id="' . Sanitizer::escapeId( "pt-$key" ) . '"';
- if ( $item['active'] ) {
+ if (
isset( $item['active'] ) &&
$item['active'] ) {
$this->data['personal_urls'][$key]['attributes'] .=
' class="active"';
}