com web/php: Tinker with the error message shown when a search keyword is too short.: results.php

From: Date: Mon, 12 Nov 2012 03:19:06 +0000
Subject: com web/php: Tinker with the error message shown when a search keyword is too short.: results.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14950@lists.php.net to get a copy of this message
Commit: cbd6d7efdfb1049d5f0dcf99893935d4dedbe3f7 Author: Adam Harvey <aharvey@php.net> 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;

« previous php.webmaster (#14950) next »