Forums

Send IP Toggle Doesn't Work

dmwalk 05 Jun, 2007
On the General tab, there is a Yes/No toggle for "Record and send users IP?" Setting this to No seems to have no effect. The emails sent always have the IP.
GreyHead 05 Jun, 2007
Hi,

Looks like a little bug to me, the form either returns 'Yes' or 'No' and both of these are equivalent to 'true' in
if ( $paramsvalues->recip ) {
changing this to
if ( $paramsvalues->recip == "Yes" ) {
in chronocontact.php should do the trick (though a checkbox on the admin form might be a better fix).

Bob<br><br>Post edited by: GreyHead, at: 2007/06/05 16:34
Max_admin 05 Jun, 2007
Oh yes, Good catch dmwalk, Thanks Bob!!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.