X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_refs.php;h=7f23f8b8812e21c2a9d9537d2da0f87d157836ff;hb=501a861954273a54a21b714587fc33b57322d8e4;hp=6a1085f1674beb84a3fd4b14713244c46ece6c70;hpb=c01694397f34eee38b8f5933dbb385c122c79e50;p=mailer.git diff --git a/inc/modules/admin/what-list_refs.php b/inc/modules/admin/what-list_refs.php index 6a1085f167..7f23f8b881 100644 --- a/inc/modules/admin/what-list_refs.php +++ b/inc/modules/admin/what-list_refs.php @@ -103,7 +103,7 @@ ORDER BY // Is the data there? if (fetchUserData($content['refid'])) { // Check for referals - $refs_cnt = countSumTotalData(getUserData('userid'), 'refsystem', 'counter'); + $refs_cnt = countSumTotalData(getUserData('userid'), 'user_refs', 'id', 'userid', true); // Prepare data for the template $content = array(