1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Bugtracker #4528 - missing datestamp on comments

This commit is contained in:
e107steved 2008-10-15 19:13:30 +00:00
parent 2a9f36c8e7
commit 01ce3264d1

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
| $Revision: 1.7 $
| $Date: 2008-10-03 20:15:09 $
| $Revision: 1.8 $
| $Date: 2008-10-15 19:13:20 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -243,10 +243,13 @@ class rssCreate {
$tmp = $sql->db_getList();
$this -> rssItems = array();
$loop=0;
foreach($tmp as $value) {
foreach($tmp as $value)
{
$this -> rssItems[$loop]['title'] = $value['comment_subject'];
$this -> rssItems[$loop]['pubdate'] = $value['comment_datestamp'];
switch ($value['comment_type']) {
switch ($value['comment_type'])
{
case 0:
$this -> rssItems[$loop]['link'] = "http://".$_SERVER['HTTP_HOST'].e_HTTP."comment.php?comment.news.".$value['comment_item_id'];
break;