Menu

#2 Undefined variable $params in ContactsCollection::createCont

open
nobody
5
2011-10-10
2011-10-10
Anonymous
No

In ContactsCollection::createContactXml() there are the lines

if ($params['status'] == 'Do Not Mail')
{
$utility->setActionBy('ACTION_BY_CONTACT');
}

and $params is not in the scope of that method. I believe it should be

if (getStatus() == '')

Discussion


Log in to post a comment.