diff options
Diffstat (limited to 'all.php')
-rw-r--r-- | all.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,8 +64,8 @@ function report ($db) if (substr($what, 0, 1)=='%') { $l = substr($what, 1, 1); - if (!ctype_alpha($l) && !ctype_digit($l)) { - $l = 'a'; + if ((!ctype_alpha($l) && !ctype_digit($l)) || strlen($what)>2) { + die("Hmm..."); } $sql = sprintf( "SELECT DISTINCT name |