cvs: php-bugs-web / search.php

From: Date: Thu, 20 Jun 2002 04:38:35 +0000
Subject: cvs: php-bugs-web / search.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10940@lists.php.net to get a copy of this message
jimw Thu Jun 20 00:38:35 2002 EDT Modified files: /php-bugs-web search.php Log: apply stripslashes and htmlentities to the right function Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.21 php-bugs-web/search.php:1.22 --- php-bugs-web/search.php:1.21 Thu Jun 20 00:32:39 2002 +++ php-bugs-web/search.php Thu Jun 20 00:38:35 2002 @@ -49,7 +49,7 @@ list($sql_search, $ignored) = format_search_string($search_for); $where_clause .= $sql_search; if (count($ignored) > 0 ) { - array_push($warnings, "The following words were ignored: " . implode(', ', htmlentities(stripslashes(array_unique($ignored))))); + array_push($warnings, "The following words were ignored: " . htmlentities(stripslashes(implode(', ', array_unique($ignored))))); } }

« previous php.mirrors (#10940) next »