diff --git a/include/staff/helptopics.inc.php b/include/staff/helptopics.inc.php index a01762aa4d2a742763acd999914602c217d347a9..a907ab8c2d1469f91c12fe2f01cb7413fbd1cb5d 100644 --- a/include/staff/helptopics.inc.php +++ b/include/staff/helptopics.inc.php @@ -15,7 +15,7 @@ $page=($_GET['p'] && is_numeric($_GET['p']))?$_GET['p']:1; $query="$sql ORDER BY $order_by"; $res=db_query($query); if($res && ($num=db_num_rows($res))) - $showing=sprintf(_N('Showing %d help topic', 'Showing %d help topics'), $num); + $showing=sprintf(_N('Showing %d help topic', 'Showing %d help topics', $num), $num); else $showing=__('No help topics found!'); diff --git a/scp/banlist.php b/scp/banlist.php index 57c84f4f7357d066677d408b9cc91f111a0bf4e5..bbebfa4b7cc574884d2acd01f71e50dad19c1fdc 100644 --- a/scp/banlist.php +++ b/scp/banlist.php @@ -36,9 +36,9 @@ if($_POST && !$errors && $filter){ }elseif(!$_POST['val'] || !Validator::is_email($_POST['val'])){ $errors['err']=$errors['val']=__('Valid email address required'); }elseif(!$errors){ - $vars=array('w'=>'email', - 'h'=>'equal', - 'v'=>trim($_POST['val']), + $vars=array('what'=>'email', + 'how'=>'equal', + 'val'=>trim($_POST['val']), 'filter_id'=>$filter->getId(), 'isactive'=>$_POST['isactive'], 'notes'=>$_POST['notes']);