Several minor rewrites, getter GET_JACKPOT_POINTS() added
[mailer.git] / inc / doubler_send.php
index d3ae495..7e40aaa 100644 (file)
@@ -99,6 +99,7 @@ if (((SQL_NUMROWS($result_total) > 0) && (getConfig('doubler_sent_all') == 'Y'))
 
                        // Zero refid when empty (might be helpful!)
                        if (empty($ref)) $ref = 0;
+
                        if (($ref > 0) && ($GLOBALS['doubler_uid'] == $content['userid']) && (!empty($ref))) {
                                // Referal points found so add them and set line(s) to completed='Y'
                                $content['points'] += $ref;