fixed warning (ExecMethod does not allow var parameters)

This commit is contained in:
Ralf Becker 2010-10-27 08:20:32 +00:00
parent 5efac64eff
commit bf63d26531

View File

@ -36,7 +36,7 @@ class addressbook_contactform
* @param string $copytoreceiver=false send a copy of notification to receiver
* @return string html content
*/
function display(array &$content=null,$addressbook=null,$fields=null,$msg=null,$email=null,$tpl_name=null,$subject=null,$copytoreceiver=false,$sel_options=array())
function display(array $content=null,$addressbook=null,$fields=null,$msg=null,$email=null,$tpl_name=null,$subject=null,$copytoreceiver=false,$sel_options=array())
{
#error_log( "<p>addressbook_contactform::display(".print_r($content,true).",$addressbook,".print_r($fields,true).",$msg,$tpl_name)</p>\n");
if (empty($tpl_name) && !empty($content['tpl_form_name'])) $tpl_name =$content['tpl_form_name'];