cellog Tue Apr 17 22:12:12 2007 UTC
Modified files:
/pearweb/include pear-database.php
Log:
fix Bug #10706 popular.rss feed broken
http://cvs.php.net/viewvc.cgi/pearweb/include/pear-database.php?r1=1.340&r2=1.341&diff_format=u
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.340
pearweb/include/pear-database.php:1.341
--- pearweb/include/pear-database.php:1.340 Thu Apr 5 19:28:00 2007
+++ pearweb/include/pear-database.php Tue Apr 17 22:12:12 2007
@@ -18,7 +18,7 @@
| Martin Jansen <mj@xxxxxxx> |
| Gregory Beaver <cellog@xxxxxxx> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.340 2007/04/05 19:28:00 cellog Exp $
+ $Id: pear-database.php,v 1.341 2007/04/17 22:12:12 cellog Exp $
*/
require_once 'DB/storage.php';
@@ -1573,7 +1573,7 @@
if ($rss) {
$query = '
SELECT
- packages.name, releases.version, downloads, releasedate
+ packages.name, releases.version, downloads, releasedate,
downloads/(CEIL((unix_timestamp(NOW()) -
unix_timestamp(releases.releasedate))/86400)) as releasenotes
FROM releases, packages, aggregated_package_stats a
WHERE
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|