]> git.mxchange.org Git - mailer.git/commitdiff
Another try to fix bigintval() problem, ticket #114
authorRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 14:23:40 +0000 (14:23 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 14:23:40 +0000 (14:23 +0000)
inc/modules/guest/what-register.php

index ce00d37ae37ec8030869cf6af7bde9dd1c156ac2..31192f0d35e950bf8e4bc15682c939d2baf6ab73 100644 (file)
@@ -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', '');