]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_refs.php
Yet another fix for missing 'def_refid' in install phase
[mailer.git] / inc / modules / admin / what-list_refs.php
index 6a1085f1674beb84a3fd4b14713244c46ece6c70..7f23f8b8812e21c2a9d9537d2da0f87d157836ff 100644 (file)
@@ -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(