X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=64d80b098bdd0685fb6e3f69cbea2cbb3f3dadb6;hp=df47862705423e1d7f52da718881317d3ff6e095;hb=feffb2de6ca221fe2b54934ec9c157a7923a0af9;hpb=a806525af1afcb19808ad45337c76f8e9a8c9712;ds=sidebyside diff --git a/inc/functions.php b/inc/functions.php index df47862705..64d80b098b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1981,8 +1981,8 @@ function generateHash ($plainText, $salt = "") { // Is the required extension "sql_patches" there and a salt is not given? if (((EXT_VERSION_IS_OLDER("sql_patches", "0.3.6")) || (!EXT_IS_ACTIVE("sql_patches"))) && (empty($salt))) { - // Extension sql_patches is missing/outdated so we return the plain text - return $plainText; + // Extension sql_patches is missing/outdated so we hash the plain text with MD5 + return md5($plainText); } // END - if // Do we miss an arry element here?