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:
b61babf
)
fix notice for unset variable when only one item displayed; not sure this code is...
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 6 Feb 2005 14:26:52 +0000
(14:26 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 6 Feb 2005 14:26:52 +0000
(14:26 +0000)
includes/QueryPage.php
patch
|
blob
|
history
diff --git
a/includes/QueryPage.php
b/includes/QueryPage.php
index
46582f0
..
4ac5aa9
100644
(file)
--- a/
includes/QueryPage.php
+++ b/
includes/QueryPage.php
@@
-209,6
+209,8
@@
class QueryPage {
$obj = null;
$format = $this->formatResult( $sk, $obj );
if( $format ) {
+ $attr = ( isset ( $obj->usepatrol ) && $obj->usepatrol &&
+ $obj->patrolled == 0 ) ? ' class="not-patrolled"' : '';
$s .= "<li{$attr}>{$format}</li>\n";
}
}