View Issue Details

IDProjectCategoryView StatusLast Update
0007060phpList 3 applicationCampaign Send Processpublic18-02-08 14:06
Reporterhola Assigned To 
Status resolvedResolutionfixed 
Product Version2.10.2 
Target Version2.10.7Fixed in Version2.10.4 
Summary0007060: Criteria does not refresh the correct amount
DescriptionIn send_core.php the following code used to calculate the number of users that equal the criteria statements displays the number of users that equal the result - however the wrong varibale is used:

$userids = array_unique($userids);
  $num_users = sizeof($userids);

  $count_query = sprintf('select * from %s where id in (%s)',$GLOBALS['tables']['user'],join(', ',$userids));

  if ($_GET["calculate"]) {
    printf('.. '.$GLOBALS['I18N']->get('%d users apply'),$num).'


The printf statement for number of users should not be num but $num_users - like so:

if ($_GET["calculate"]) {
    printf('.. '.$GLOBALS['I18N']->get('%d users apply'),$num_users).'


I have no idea what this statement is in there for

 $count_query = sprintf('select * from %s where id in (%s)',$GLOBALS['tables']['user'],join(', ',$userids));
TagsNo tags attached.


related to 0003721 closed phplist 2.10.x 
related to 0006063 resolvedmichiel Using multiple Criteria attributes at "ADVANCED CRITERIA MODE" gives false user filtering 



24-07-06 14:31

administrator   ~0015847

I just tried to reply to your email about the next release, but your mailserver bounced it, saying "looks like spam".