View Issue Details

IDProjectCategoryView StatusLast Update
0017647phplist applicationBounce Managementpublic07-07-15 15:11
Reporterbst2002 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
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.

Activities

There are no notes attached to this issue.