From: Roland Häder Date: Mon, 22 Mar 2010 01:19:14 +0000 (+0000) Subject: Fix :( X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa533f1d78c45f15f7749ee7c2819700e6722f1b;p=mailer.git Fix :( --- diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index e23913c49b..218bab23d8 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -874,14 +874,14 @@ function isDebuggingTemplateCache () { } // Wrapper for fetchUserData() and getUserData() calls -function getFetchedUserData ($keyColumn, $userId, $valueColumn) { +function getFetchedUserData ($keyColumn, $userid, $valueColumn) { // Is it cached? if (!isset($GLOBALS['user_data_cache'][$userid][$keyColumn][$valueColumn])) { // Default is 'guest' $data = getMessage('USERNAME_GUEST'); // Can we fetch the user data? - if (($userId > 0) && (fetchUserData($userId, $keyColumn))) { + if (($userid > 0) && (fetchUserData($userid, $keyColumn))) { // Now get the data back $data = getUserData($valueColumn); } // END - if