phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017647phplist applicationBounce Managementpublic16-04-15 15:0907-07-15 15:11
Reporterbst2002 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.0.10 
Target Versionnext patchFixed in Version3.2.0 
Summary0017647: bouncerules missing "with tagged rules" delete/deactivate/save changes
Descriptionin file bouncerules.php line 75:

Sql_Affected_Rows() replaced by Sql_Num_Rows()

"Affected rows" only on INSERT, UPDATE, REPLACE or DELETE

change from:

$some = 1;
$req = Sql_Query(sprintf('select * from %s where status = "%s" order by listorder,regex',$GLOBALS['tables']['bounceregex'],$type));
$ls = new WebblerListing($GLOBALS['I18N']->get('Bounce Regular Expressions'));
if (!Sql_Affected_Rows()) {
  print $GLOBALS['I18N']->get('No Rules found');
  $some = 0;
} else {
  print formStart('class="bouncerulesListing"');
}


to:


$some = 1;
$req = Sql_Query(sprintf('select * from %s where status = "%s" order by listorder,regex',$GLOBALS['tables']['bounceregex'],$type));
$ls = new WebblerListing($GLOBALS['I18N']->get('Bounce Regular Expressions'));
if (!Sql_Num_Rows($req)) {
  print $GLOBALS['I18N']->get('No Rules found');
  $some = 0;
} else {
  print formStart('class="bouncerulesListing"');
}
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker