]> git.mxchange.org Git - mailer.git/blobdiff - inc/expression-functions.php
Fixes + asserts
[mailer.git] / inc / expression-functions.php
index abce20ffbe04cefa564f8afb3a241976271e79c9..de71466a0277cb8215a2515207ec1c9af63d1c3f 100644 (file)
@@ -444,7 +444,7 @@ function doExpressionForm ($data) {
                if ($value == 'formmethodpost') {
                        // Use it
                        $data['__form_method'] = 'post';
                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
                        // Then expand 'value' with session id
                        if (strpos($data['value'], '?') !== FALSE) {
                                // '?' is set