X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdoubler_send.php;h=b9f06e01912133c14f8899d0c644f1d97cbe8dcd;hb=1ad7523202395d90116494ee53a3262e2371a3bd;hp=1ba26c71d321db460a6d5d6a224313d5fbcf6593;hpb=a090e351c49fe021fb3064325694da03402332e0;p=mailer.git diff --git a/inc/doubler_send.php b/inc/doubler_send.php index 1ba26c71d3..b9f06e0191 100644 --- a/inc/doubler_send.php +++ b/inc/doubler_send.php @@ -38,7 +38,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } @@ -77,7 +77,7 @@ ORDER BY d.timemark LIMIT %d", array($DOUBLER_POINTS, $min, getConfig('doubler_max_sent')), __FILE__, __LINE__); // Do we have entries found? -if (((SQL_NUMROWS($result_total) > 0) && (getConfig('doubler_sent_all') == 'Y')) || ((SQL_NUMROWS($result_main) == getConfig('doubler_group_sent')) && (getConfig('doubler_sent_all') != "Y"))) { +if (((SQL_NUMROWS($result_total) > 0) && (getConfig('doubler_sent_all') == 'Y')) || ((SQL_NUMROWS($result_main) == getConfig('doubler_group_sent')) && (getConfig('doubler_sent_all') != 'Y'))) { // Switch to matching SQL resource $result_load = $result_main; if ((SQL_NUMROWS($result_total) > 0) && (getConfig('doubler_sent_all') == 'Y')) $result_load = $result_total;