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:
6e9983e
)
Fixed one more PHP notice
author
Roland Mas
<lolando@debian.org>
Tue, 3 Feb 2009 19:26:51 +0000
(19:26 +0000)
committer
Roland Mas
<lolando@debian.org>
Tue, 3 Feb 2009 19:26:51 +0000
(19:26 +0000)
gforge/www/export/rss_utils.inc
patch
|
blob
|
history
diff --git
a/gforge/www/export/rss_utils.inc
b/gforge/www/export/rss_utils.inc
index efded001f419d1cac81b94bba85a7c7400c1d9af..69a2b5c62128d78020c30e36cfdf47225ec16b41 100644
(file)
--- a/
gforge/www/export/rss_utils.inc
+++ b/
gforge/www/export/rss_utils.inc
@@
-40,7
+40,7
@@
function rss_description ($in) {
// row and which result will be appended to description element
function rss_dump_project_result_set ($res,$title,$desription='',$callback=0) {
if (!$desription) $desription=$title;
// row and which result will be appended to description element
function rss_dump_project_result_set ($res,$title,$desription='',$callback=0) {
if (!$desription) $desription=$title;
- //
##
one time output
+ // one time output
print " <channel>\n";
print " <copyright>Copyright 1999-2000 VA Linux Systems, Inc.</copyright>\n";
print " <pubDate>".gmdate('D, d M Y g:i:s',time())." GMT</pubDate>\n";
print " <channel>\n";
print " <copyright>Copyright 1999-2000 VA Linux Systems, Inc.</copyright>\n";
print " <pubDate>".gmdate('D, d M Y g:i:s',time())." GMT</pubDate>\n";
@@
-50,7
+50,8
@@
function rss_dump_project_result_set ($res,$title,$desription='',$callback=0) {
print " <webMaster>webmaster@$GLOBALS[sys_default_domain]</webMaster>\n";
print " <language>en-us</language>\n";
print " <webMaster>webmaster@$GLOBALS[sys_default_domain]</webMaster>\n";
print " <language>en-us</language>\n";
- // ## item outputs
+ // item outputs
+ $addendum = '' ;
while ($row = db_fetch_array($res)) {
if ($callback) {
$addendum=$callback($row);
while ($row = db_fetch_array($res)) {
if ($callback) {
$addendum=$callback($row);
@@
-64,7
+65,7
@@
function rss_dump_project_result_set ($res,$title,$desription='',$callback=0) {
print "</description>\n";
print " </item>\n";
}
print "</description>\n";
print " </item>\n";
}
- //
##
end output
+ // end output
print " </channel>\n";
}
print " </channel>\n";
}