Re: cvs: pearweb /public_html package-stats.php
| From: | Martin Jansen | Date: | Mon, 03 Jun 2002 21:02:35 +0000 |
| Subject: | Re: cvs: pearweb /public_html package-stats.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-4398@lists.php.net to get a copy of this message | ||
On Mon, 03 Jun 2002 20:55:56 -0000, Richard Heyes wrote:
>richard Mon Jun 3 16:55:56 2002 EDT
>
> Modified files:
> /pearweb/public_html package-stats.php
> Log:
> * Fix E_ALL buglet
>
>
>Index: pearweb/public_html/package-stats.php
>diff -u pearweb/public_html/package-stats.php:1.10 pearweb/public_html/package-stats.php:1.11
>--- pearweb/public_html/package-stats.php:1.10 Mon Jun 3 13:37:05 2002
>+++ pearweb/public_html/package-stats.php Mon Jun 3 16:55:56 2002
>@@ -16,7 +16,7 @@
> | Authors: Martin Jansen <mj@php.net> |
> | Richard Heyes <richard@php.net> |
> +----------------------------------------------------------------------+
>- $Id: package-stats.php,v 1.10 2002/06/03 17:37:05 richard Exp $
>+ $Id: package-stats.php,v 1.11 2002/06/03 20:55:56 richard Exp $
> */
>
> require_once "HTML/Form.php";
>@@ -315,7 +315,7 @@
> /**
> * Display this for Global and Category stats pages only
> */
>-if (!$_GET['pid']) {
>+if (@!$_GET['pid']) {
Why not simply use if (!isset($_GET['pid'])?
- Martin
--
Martin Jansen, <mail@martin-jansen.de>
http://www.martin-jansen.de/