Diff for Metafox/functions.inc.php between version 1.141 and 1.142
| version 1.141, 2018/03/25 00:08:49 |
version 1.142, 2018/04/22 01:05:52 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.140 2017/06/09 15:12:59 igor Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.141 2018/03/25 00:08:49 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 1910 function ezin_cgi_parse() /* {{{ */ |
|
| Line 1910 function ezin_cgi_parse() /* {{{ */ |
|
| $email = trim($_REQUEST['ezin_email']); |
$email = trim($_REQUEST['ezin_email']); |
| $phone = trim($_REQUEST['ezin_phone']); |
$phone = trim($_REQUEST['ezin_phone']); |
| include_once 'Validate.php'; |
include_once 'Validate.php'; |
| if ((Validate::email($email) || strlen($phone) > 0) |
if ((@Validate::email($email) || strlen($phone) > 0) |
| && ezin_save_email($ezin_cgi['section_id'], $email, $phone)) |
&& ezin_save_email($ezin_cgi['section_id'], $email, $phone)) |
| { |
{ |
| $ezin_cgi['email_save_ok'] = 1; |
$ezin_cgi['email_save_ok'] = 1; |
Platon Group <platon@platon.org> http://platon.org/
|
|