projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f29158c
)
Cleanup notices (illegal return by reference on a constant)
author
Alain Peyrat
<aljeux@free.fr>
Tue, 20 Nov 2007 18:44:17 +0000
(18:44 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Tue, 20 Nov 2007 18:44:17 +0000
(18:44 +0000)
gforge/common/forum/ForumFactory.class.php
patch
|
blob
|
history
diff --git
a/gforge/common/forum/ForumFactory.class.php
b/gforge/common/forum/ForumFactory.class.php
index 7fb45defa4cd26602491708dafc2cbc0ed78277b..828a83061874bd9d98b5df12a58ba075c5d9ffdf 100644
(file)
--- a/
gforge/common/forum/ForumFactory.class.php
+++ b/
gforge/common/forum/ForumFactory.class.php
@@
-144,8
+144,8
@@
class ForumFactory extends Error {
$rows = db_numrows($result);
if (!$result) {
- $this->setError(_('Forum not found').db_error());
-
return
false;
+ $this->setError(_('Forum not found').
' : '.
db_error());
+
$this->forums =
false;
} else {
while ($arr = db_fetch_array($result)) {
$this->forums[] = new Forum($this->Group, $arr['group_forum_id'], $arr);