svn: /web/php-bugs/trunk/www/rss/ rss.php
| From: | Felipe Pena | Date: | Tue, 28 Jun 2011 22:39:01 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/rss/ rss.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11340@lists.php.net to get a copy of this message | ||
felipe Tue, 28 Jun 2011 22:39:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312603
Log:
- Fix warnings
Changed paths:
U web/php-bugs/trunk/www/rss/rss.php
Modified: web/php-bugs/trunk/www/rss/rss.php
===================================================================
--- web/php-bugs/trunk/www/rss/rss.php 2011-06-28 22:38:28 UTC (rev 312602)
+++ web/php-bugs/trunk/www/rss/rss.php 2011-06-28 22:39:01 UTC (rev 312603)
@@ -22,7 +22,7 @@
<lastBuildDate><?php echo date('r', ($bug['modified']) ?
$bug['modified'] : $bug['submitted']); ?></lastBuildDate>
<atom:link href="<?php echo "https://{$site_url}{$basedir}/rss/bug.php?id={$bug['id']}&format=rss2";
?>" rel="self" type="application/rss+xml" />
<item>
- <title><?php echo ($bug['handle']) ? clean($bug['handle']) :
clean(substr($bug['email'], 0, strpos($bug['email'], '@'))),
"@... [{$bug['ts1']}]"; ?></title>
+ <title><?php echo ($bug['assign']) ? clean($bug['assign']) :
clean(substr($bug['email'], 0, strpos($bug['email'], '@'))),
"@... [{$bug['ts1']}]"; ?></title>
<description><![CDATA[ <?php echo $desc; ?> ]]></description>
<pubDate><?php echo date('r', $bug['submitted']);
?></pubDate>
<guid><?php echo $uri; ?></guid>
@@ -33,7 +33,7 @@
$displayts = date(DATE_RSS, $comment['added']);
?>
<item>
- <title><?php echo clean(($comment['handle']) ? $comment['handle']
. " [$displayts]" : substr($comment['email'], 0,
strpos($comment['email'], '@')) . "@... [$displayts]");
?></title>
+ <title><?php echo clean($comment['email'] . " [$displayts]");
?></title>
<description><![CDATA[ <?php echo '<pre>',
clean($comment['comment']), '</pre>'; ?>]]></description>
<pubDate><?php echo date('r', $comment['added']);
?></pubDate>
<guid><?php echo $uri, '#', $comment['added']; ?></guid>