X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fexpression-functions.php;h=de71466a0277cb8215a2515207ec1c9af63d1c3f;hp=abce20ffbe04cefa564f8afb3a241976271e79c9;hb=175b3f506e193d8d791ec6523db42276e296dd0b;hpb=8cab12aa2bd0bd1de03a377b37cd42faae64b0e1 diff --git a/inc/expression-functions.php b/inc/expression-functions.php index abce20ffbe..de71466a02 100644 --- a/inc/expression-functions.php +++ b/inc/expression-functions.php @@ -444,7 +444,7 @@ function doExpressionForm ($data) { if ($value == 'formmethodpost') { // Use it $data['__form_method'] = 'post'; - } elseif (($value == 'formmethodpost') && (!isSpider()) && (!isSessionValid())) { + } elseif (($value == 'formmethodpost') && (!isSpider()) && (!isValidSession())) { // Then expand 'value' with session id if (strpos($data['value'], '?') !== FALSE) { // '?' is set