When a user is sent an email from eForm 1.4.4.2, they get sent 2 messages, one containing the message as intended, and one containing two single quotes ’’.
i’m calling eform with the following call:
[!STFURL!] [!eForm? &sendirect=`1` &subject=`A friend has sent you details of a property on PurpleFrogProperty.com` &thankyou=`STFemailOK` &formid=`STFform` &tpl=`STFform` &report=`STFemail` &eFormOnBeforeFormParse=`STFURL` &to=`[+email+]`!]
the STFURL snippet doesn’t do much, just:
<?php
if (!function_exists(STFURL))
{
function STFURL(&$fields, &$templates)
{
global $modx;
$fields['url'] = $_SERVER['HTTP_REFERER'];
return true;
}
}
?>
has anyone else found this?