X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ftemplate-functions.php;h=0c10acd3396a0a8fbc565c25a3062d6dc93f2c4b;hb=b4df691a2d9cabc94a6def5bd1ee3d4945d5efd4;hp=08fa2e50c288b79126e14226ac601289b3c16cb7;hpb=544aa3fb48613160f812515673e64c46d18d2e1d;p=mailer.git diff --git a/inc/template-functions.php b/inc/template-functions.php index 08fa2e50c2..0c10acd339 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -455,8 +455,13 @@ function loadEmailTemplate ($template, $content = array(), $userid = '0', $loadU // Merge data if valid //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, "content()=".count($content)." - PRE
"); if ((isUserDataValid()) && ($loadUserData === true)) { + // It is valid $content = merge_array($content, getUserDataArray()); + + // But we don't like hashed passwords be mailed + unset($content['password']); } // END - if + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, "content()=".count($content)." - AFTER
"); } // END - if