cvs: pearweb /public_html package-info.php

From: Date: Fri, 06 Jun 2003 16:16:16 +0000
Subject: cvs: pearweb /public_html package-info.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10735@lists.php.net to get a copy of this message
mj Fri Jun 6 12:16:16 2003 EDT Modified files: /pearweb/public_html package-info.php Log: * Print error if a wrong package ID has been provided. # Bug: 24062 Index: pearweb/public_html/package-info.php diff -u pearweb/public_html/package-info.php:1.31 pearweb/public_html/package-info.php:1.32 --- pearweb/public_html/package-info.php:1.31 Mon Apr 14 13:52:46 2003 +++ pearweb/public_html/package-info.php Fri Jun 6 12:16:16 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: package-info.php,v 1.31 2003/04/14 17:52:46 mj Exp $ + $Id: package-info.php,v 1.32 2003/06/06 16:16:16 mj Exp $ */ // {{{ setup, queries @@ -46,7 +46,7 @@ $relid = (isset($_GET['relid'])) ? (int) $_GET['relid'] : null; } -if (empty($pacid)) { +if (empty($pacid) || !isset($pkg['name'])) { response_header("Error"); PEAR::raiseError('No package selected'); response_footer();

« previous php.pear.cvs (#10735) next »