Further rewrites due to deprecated functions in 5.3.1
[mailer.git] / inc / pool / pool-bonus.php
index d5084bee6bce167108befe7d69978e16001945ca..0787499781074d5f8224850a9426b5185c07a7ff 100644 (file)
@@ -72,7 +72,7 @@ if ($GLOBALS['pool_cnt'] < getConfig('max_send')) {
                                array(bigintval($DATA['id'])), __FILE__, __LINE__);
 
                        // "Explode" all receivers into an array
-                       if (ereg(';', $DATA['receivers'])) {
+                       if (isInString(';', $DATA['receivers'])) {
                                // There's more than one receiver in the list...
                                $receiverS = explode(';', $DATA['receivers']);
                        } elseif (!empty($DATA['points'])) {