Jaxel
Well-known member
I've been using
However, I was having issues with the following code:
This code has been failing 100% of the time.
I noticed however, if I switch it from
Why is this happening? Should I go back through my code and change all the object identifiers to array identifiers?
$params->user_id
in my code, coming from the ParameterBag. It's normally worked perfectly fine.However, I was having issues with the following code:
Code:
if (empty($params->user_id))
{
return $this->actionAuthors($params);
}
I noticed however, if I switch it from
$params->user_id
to $params['user_id']
, it starts working fine.Why is this happening? Should I go back through my code and change all the object identifiers to array identifiers?