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:
39adfdd
)
Followup r72200, cast return to bool
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 2 Sep 2010 20:11:01 +0000
(20:11 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 2 Sep 2010 20:11:01 +0000
(20:11 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
d741726
..
e7a8351
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-3539,7
+3539,7
@@
class Title {
*/
public function isInCategory( $category ) {
$dbr = wfGetDB( DB_SLAVE );
- return $dbr->selectRow( 'categorylinks', '*',
+ return
(bool)
$dbr->selectRow( 'categorylinks', '*',
array(
'cl_from' => $this->getArticleId(),
'cl_to' => $category,