Commit: 922e9c2915b8ed6c5f8e1abf75bb7ff734109a55 Author: Adam Harvey <[email protected]> Mon, 12 Nov 2012 11:19:06 +0800 Parents: f4f8065b8931af47dd2069ddcdcd19bbf899948e Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=922e9c2915b8ed6c5f8e1abf75bb7ff734109a55 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
