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:
6477151
)
Check probably needed. Patch by Andrew Miller
author
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 15 Jan 2005 11:39:46 +0000
(11:39 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 15 Jan 2005 11:39:46 +0000
(11:39 +0000)
includes/Group.php
patch
|
blob
|
history
diff --git
a/includes/Group.php
b/includes/Group.php
index
e9d8da0
..
9ae0718
100644
(file)
--- a/
includes/Group.php
+++ b/
includes/Group.php
@@
-132,7
+132,8
@@
class Group {
$fname = 'Group::nameFromId';
$dbr =& wfGetDB( DB_SLAVE );
$r = $dbr->selectRow( 'group', array( 'group_name' ), array( 'group_id' => $id ), $fname );
-
+ if ($dbr == null)
+ return;
if($r === false) {
return '';
} else {