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:
bbc0137
)
Make sure getAllForumIds() returns an array (even if empty)
author
Roland Mas
<lolando@debian.org>
Fri, 17 Sep 2010 15:38:42 +0000
(15:38 +0000)
committer
Roland Mas
<lolando@debian.org>
Fri, 17 Sep 2010 15:38:42 +0000
(15:38 +0000)
src/common/forum/ForumFactory.class.php
patch
|
blob
|
history
diff --git
a/src/common/forum/ForumFactory.class.php
b/src/common/forum/ForumFactory.class.php
index d755e4060978d0ddad9be577664d8283e153bc46..01ebdbf9d1117521ac23e55860be211301e98ebc 100644
(file)
--- a/
src/common/forum/ForumFactory.class.php
+++ b/
src/common/forum/ForumFactory.class.php
@@
-73,6
+73,7
@@
class ForumFactory extends Error {
}
function &getAllForumIds() {
+ $result = array () ;
$res = db_query_params ('SELECT * FROM forum_group_list_vw
WHERE group_id=$1
ORDER BY group_forum_id',