fix warning

This commit is contained in:
xiaomlove
2020-12-29 21:49:37 +08:00
parent d190ca6f67
commit 398cf8607a
55 changed files with 223 additions and 214 deletions
+2 -2
View File
@@ -141,8 +141,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
$query[] = "iuplder=1";
}
$searchstr = mysql_real_escape_string(trim($_POST["search"] ?? ''));
if (empty($searchstr))
unset($searchstr);
// if (empty($searchstr))
// unset($searchstr);
if ($searchstr)
{
$query[] = "search=".rawurlencode($searchstr);