cvs: pearweb /public_html/qa packages_status.php packages_status_detail.php
| From: | Tobias Schlitt | Date: | Wed, 17 Aug 2005 10:54:00 +0000 |
| Subject: | cvs: pearweb /public_html/qa packages_status.php packages_status_detail.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3603@lists.php.net to get a copy of this message | ||
toby Wed Aug 17 06:54:00 2005 EDT
Modified files:
/pearweb/public_html/qa packages_status.php
packages_status_detail.php
Log:
* Patch provided by Arnaud.
http://cvs.php.net/diff.php/pearweb/public_html/qa/packages_status.php?r1=1.6&r2=1.7&ty=u
Index: pearweb/public_html/qa/packages_status.php
diff -u pearweb/public_html/qa/packages_status.php:1.6
pearweb/public_html/qa/packages_status.php:1.7
--- pearweb/public_html/qa/packages_status.php:1.6 Tue Aug 16 15:01:27 2005
+++ pearweb/public_html/qa/packages_status.php Wed Aug 17 06:53:59 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Arnaud Limbourg <arnaud@limbourg.com> |
+----------------------------------------------------------------------+
- $Id: packages_status.php,v 1.6 2005/08/16 19:01:27 toby Exp $
+ $Id: packages_status.php,v 1.7 2005/08/17 10:53:59 toby Exp $
*/
/**
@@ -39,7 +39,7 @@
'/qa/packages_status_detail.php?state=' . $state,
'See packages status for state ' . $state, '',
'title="Details for state ' . $state . '"');
- echo '<li>' . $state . '</li>';
+ echo '<li>' . $link . '</li>';
}
echo "</ul>\n";
http://cvs.php.net/diff.php/pearweb/public_html/qa/packages_status_detail.php?r1=1.1&r2=1.2&ty=u
Index: pearweb/public_html/qa/packages_status_detail.php
diff -u pearweb/public_html/qa/packages_status_detail.php:1.1
pearweb/public_html/qa/packages_status_detail.php:1.2
--- pearweb/public_html/qa/packages_status_detail.php:1.1 Tue Aug 16 15:01:28 2005
+++ pearweb/public_html/qa/packages_status_detail.php Wed Aug 17 06:53:59 2005
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Arnaud Limbourg <arnaud@limbourg.com> |
+----------------------------------------------------------------------+
- $Id: packages_status_detail.php,v 1.1 2005/08/16 19:01:28 toby Exp $
+ $Id: packages_status_detail.php,v 1.2 2005/08/17 10:53:59 toby Exp $
*/
/**
@@ -201,13 +201,13 @@
$count = $dbh->getOne($query);
if (PEAR::isError($count)) {
- return 0;
+ return '0';
}
if ($count > 0 && $count < 10) {
- $count = 0 . $count;
+ $count = "0$count";
}
- return (int) $count;
+ return $count;
}
-?>
\ No newline at end of file
+?>