Skip to content
Snippets Groups Projects
Commit 8a85c9af authored by Jared Hancock's avatar Jared Hancock
Browse files

search: Fix _N() usage for advanced search

parent af846bc7
No related branches found
No related tags found
No related merge requests found
......@@ -265,8 +265,8 @@ class TicketsAjaxAPI extends AjaxController {
$uid = md5($_SERVER['QUERY_STRING']);
$_SESSION["adv_$uid"] = $tickets;
$result['success'] = sprintf(__("Search criteria matched %s"),
sprintf(_N('%d ticket', '%d tickets'), count($tickets),
$tickets))
sprintf(_N('%d ticket', '%d tickets', count($tickets)), count($tickets)
))
. " - <a href='tickets.php?advsid=$uid'>".__('view')."</a>";
} else {
$result['fail']=__('No tickets found matching your search criteria.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment