projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8f02c
)
Do not update rand_confirmed counter if random referal id is disabled
author
Roland Häder
<roland@mxchange.org>
Fri, 12 Aug 2011 19:55:39 +0000
(19:55 +0000)
committer
Roland Häder
<roland@mxchange.org>
Fri, 12 Aug 2011 19:55:39 +0000
(19:55 +0000)
mailid_top.php
patch
|
blob
|
history
diff --git
a/mailid_top.php
b/mailid_top.php
index 2f14d1ef1b44c18f2fd354bfd62b72dda23560a8..1fb207a33e1dfdd21779027267d19d16984419f2 100644
(file)
--- a/
mailid_top.php
+++ b/
mailid_top.php
@@
-235,7
+235,7
@@
if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
array($userId), __FILE__, __LINE__);
// Update random confirmed as well?
- if (
isExtensionInstalledAndNewer('user', '0.3.4'
)) {
+ if (
(isExtensionInstalledAndNewer('user', '0.3.4')) && (isRandomReferalIdEnabled()
)) {
// Update second counter
SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `rand_confirmed`=`rand_confirmed` + 1 WHERE `userid`=%s LIMIT 1",
array($userId), __FILE__, __LINE__);