X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Frequest-functions.php;h=61fdcbb916248c35e2e08cbe6b65a7394d004d39;hp=740f7bd52eea4aeedb9fbe6e1b3f2521930b276f;hb=9e1f6d2cff0bbef912d605d4ae1728f0382b83a4;hpb=65b42fa184cadfdb86031a2b9a696729fd29857c diff --git a/inc/request-functions.php b/inc/request-functions.php index 740f7bd52e..61fdcbb916 100644 --- a/inc/request-functions.php +++ b/inc/request-functions.php @@ -164,6 +164,9 @@ function REQUEST_SET_POST ($element, $value) { // And run it eval($eval); + } elseif (is_array($value)) { + // Value is an array so set it directly + $_POST[SQL_ESCAPE($element)] = $value; } else { // Set regular entry $_POST[SQL_ESCAPE($element)] = SQL_ESCAPE($value);