#1174: AgaviParameterHolder::removeParameter() causes notice for invalid keys 
when
calling with by-ref assignemnt
--------------------+-------------------------------------------------------
 Reporter:  david   |       Owner:  david
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:  1.0.2
Component:  util    |     Version:  1.0.1
 Severity:  minor   |    Keywords:       
Has_patch:  0       |  
--------------------+-------------------------------------------------------
 {{{
 #!php
 <?php
 $ph = new AgaviParameterHolder();
 $zomg =& $ph->removeParameter('[]zomg[]');
 }}}
 Causes a notice
 {{{
 Notice: Only variable references should be returned by reference in
 agavi/util/AgaviParameterHolder.class.php on line 171
 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1174>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to