X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Frallye_functions.php;h=e768e226c7acd48069c0715663cdaf245e6ee8a7;hb=2df9f7a53f8b1dd5164f87824a324ccb3b6634cb;hp=d88550529135925a0f2b1c34c20220e7978217d1;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/inc/libs/rallye_functions.php b/inc/libs/rallye_functions.php index d885505291..e768e226c7 100644 --- a/inc/libs/rallye_functions.php +++ b/inc/libs/rallye_functions.php @@ -91,7 +91,7 @@ WHERE LIMIT 1", array(bigintval($content['id']), bigintval($content['userid'])), __FUNCTION__, __LINE__); - // Do we have an entry? + // Is there an entry? if (SQL_HASZERONUMS($result_ref)) { // Add userid and his ref count to table $result_ref = SQL_QUERY_ESC("SELECT @@ -378,7 +378,7 @@ function addUserToReferralRallye ($userid, $content = array()) { // Updated extension? if (isExtensionInstalledAndNewer('rallye', '0.2.0')) { - $add .= ',`min_users`,`min_prices`'; + $add .= ',`min_users`, `min_prices`'; } // END - if // Check for an auto-add rallye @@ -610,7 +610,7 @@ function getReferralRallyeUserDataFromArray ($userIds) { // Load users $result = SQL_QUERY_ESC("SELECT - `userid`,`gender`,`surname`,`family`,`email` + `userid`, `gender`, `surname`, `family`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE @@ -650,7 +650,9 @@ function getArrayFromReferralRallyePrices ($rallye) { // Load prices $result = SQL_QUERY_ESC("SELECT - `price_level`,`points`,`info` + `price_level`, + `points`, + `info` FROM `{?_MYSQL_PREFIX?}_rallye_prices` WHERE @@ -907,7 +909,7 @@ function addReferralRallyeTemplateSelection ($name = 'template', $default = '') } } // END - foreach - // Do we have found templates which we can link with the new rallye? + // Is there found templates which we can link with the new rallye? if (!empty($ral[0])) { // Generate selection box for all found templates $OUT = '