From b9a321b2b762ef554bb97c45a0dd080f9e2a3145 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 1 Nov 2015 13:55:07 +0100 Subject: [PATCH] Fixes #86 --- includes/classes/cronjob/ReferralCronjob.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/classes/cronjob/ReferralCronjob.class.php b/includes/classes/cronjob/ReferralCronjob.class.php index 857c6cd19..d6c0e6277 100644 --- a/includes/classes/cronjob/ReferralCronjob.class.php +++ b/includes/classes/cronjob/ReferralCronjob.class.php @@ -49,6 +49,7 @@ function run() WHERE user.`ref_bonus` = 1;'; $userArray = $db->select($sql, array( + ':type' => 1, ':points' => Config::get(ROOT_UNI)->ref_minpoints ));