Commit: cbd6d7efdfb1049d5f0dcf99893935d4dedbe3f7 Author: Adam Harvey <[email protected]> Mon, 12 Nov 2012 11:19:06 +0800 Parents: becf8a8357ddfbad273d7389c8a55b788c164400 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cbd6d7efdfb1049d5f0dcf99893935d4dedbe3f7 Log: Tinker with the error message shown when a search keyword is too short. Changed paths: M results.php Diff: diff --git a/results.php b/results.php index 37103fa..1bbc89c 100644 --- a/results.php +++ b/results.php @@ -16,7 +16,7 @@ function exit_with_pretty_error($title, $header, $msg) { } if (!isset($_GET['q']) || (!is_string($_GET['q']) || strlen($_GET['q']) < 3)) { - exit_with_pretty_error("Search results", "Empty query", "You need to specify what you want to search for, 3chars at least"); + exit_with_pretty_error("Search results", "Empty query", "Please provide at least 3 characters to search for."); } if (!isset($_GET['l']) || !is_string($_GET['l'])) { $_GET['l'] = null; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
