From: Roland Häder Date: Sun, 26 Jul 2009 14:23:40 +0000 (+0000) Subject: Another try to fix bigintval() problem, ticket #114 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=78de893e6a62885f106b8176aece16847c09eea2;p=mailer.git Another try to fix bigintval() problem, ticket #114 --- diff --git a/inc/modules/guest/what-register.php b/inc/modules/guest/what-register.php index ce00d37ae3..31192f0d35 100644 --- a/inc/modules/guest/what-register.php +++ b/inc/modules/guest/what-register.php @@ -452,7 +452,7 @@ VALUES ('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONF define('__FAMILY', SQL_ESCAPE(REQUEST_POST('family'))); define('__STREET', SQL_ESCAPE(REQUEST_POST('street_nr'))); define('__COUNTRY', SQL_ESCAPE(REQUEST_POST('cntry'))); - if (REQUEST_ISSET_POST('zip')) { + if ((REQUEST_ISSET_POST('zip')) && (REQUEST_POST('zip') != '')) { define('__ZIP', bigintval(REQUEST_POST('zip'))); } else { define('__ZIP', '');