Op Wednesday 10 June 2009 16:02:36 schreef 411161:
> This statement:
> isset ($this->_getParam('adjType'));
>
> produces the following error:
>
> Fatal error: Can't use method return value in write context in
> /usr/local/apache2-development/htdocs/ARMS/application/modules/default/cont
>rollers/IndexController.php on line 136
>
> What are my alternatives?

Isset() is a language construct and therefore cannot be used to validate 
agains return values of functions. Try validating against null like
if (null === $this->_getParam('adjType')) which should work.

Regards, Jurian


--
Jurian Sluiman
Soflomo.com

Reply via email to