X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=af1420e77eadad4541423c93838bdeb7db71fd63;hb=bdb52fff8369c7b49b72efbeaa59d66975723bf5;hp=43de04889b35120e41da8ec646ba78a606b41453;hpb=d7e57a961a5538916c8a49e546254044c3aec47e;p=mailer.git diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 43de04889b..af1420e77e 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -872,7 +872,10 @@ function removeReceiver (&$receivers, $key, $userid, $pool_id, $stats_id = '', $ if ($stats_id > 0) { // Only when we got a real stats id continue searching for the entry $type = 'NORMAL'; $rowName = 'stats_id'; - if ($bonus) { $type = 'BONUS'; $rowName = 'bonus_id'; } + if ($bonus) { + $type = 'BONUS'; + $rowName = 'bonus_id'; + } // END - if // Try to look the entry up $result = SQL_QUERY_ESC("SELECT `id` FROM `{?_MYSQL_PREFIX?}_user_links` WHERE %s='%s' AND `userid`=%s AND link_type='%s' LIMIT 1", @@ -891,8 +894,8 @@ function removeReceiver (&$receivers, $key, $userid, $pool_id, $stats_id = '', $ // Free memory SQL_FREERESULT($result); - } - } + } // END - if + } // END - if // Return status for sending routine return $ret;