mj Sat Feb 22 17:10:42 2003 EDT
Modified files:
/pearweb/public_html package-info.php
Log:
* Displaying information about a release with _no_ package id doesn't
make much sense.
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.26
pearweb/public_html/package-info.php:1.27
--- pearweb/public_html/package-info.php:1.26 Sat Feb 22 17:07:53 2003
+++ pearweb/public_html/package-info.php Sat Feb 22 17:10:42 2003
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: package-info.php,v 1.26 2003/02/22 22:07:53 mj Exp $
+ $Id: package-info.php,v 1.27 2003/02/22 22:10:42 mj Exp $
*/
// {{{ setup, queries
@@ -36,9 +36,9 @@
$relid = (isset($_GET['relid'])) ? (int) $_GET['relid'] : null;
}
-if (empty($pacid) && empty($relid)) {
+if (empty($pacid)) {
response_header("Error");
- PEAR::raiseError('No package or release selected');
+ PEAR::raiseError('No package selected');
response_footer();
exit();
}
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|