From: Iain Patterson Date: Sun, 16 Jun 2013 11:50:20 +0000 (-0400) Subject: URL decode contact search string. X-Git-Tag: 2013-06-25~3 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=fe4e5568f9cec5d1bf46a3f40b4a99985f7a5abc;p=readifood.git URL decode contact search string. --- diff --git a/lib/contact.php b/lib/contact.php index 56327de..b680982 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -578,7 +578,7 @@ } } else if ($parameters[0] == "search") { - search_contacts(0, 10, $parameters[1]); + search_contacts(0, 10, urldecode($parameters[1])); } } list($name, $id, $args) = parse_parameters($parameters);