#1100: AgaviWebRouting raises an notice on environment where HTTP_GET_VARS is
not
defined.
---------------------+------------------------------------------------------
Reporter: MugeSo | Owner: david
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.2
Component: routing | Version: 1.0.1
Severity: major | Keywords:
Has_patch: 0 |
---------------------+------------------------------------------------------
Comment(by MugeSo):
Replying to [comment:2 david]:
following code emit notices:
{{{
#!php
<?php
error_reporting(E_ALL | E_STRICT);
unset($foo['bar']);
unset($foo['bar']['baz']);
?>
}}}
and L.166 of AgaviWebRouting do like this.
I've *not* tested yet, the line should be :
{{{
if(array_key_exists('HTTP_GET_VARS', $GLOBALS))
unset($GLOBALS['HTTP_GET_VARS'][$unset]);
}}}
I'll test this code on my enviroment tonight.
regards
--
Ticket URL: <http://trac.agavi.org/ticket/1100#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets