Commit 37c89b7d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Trim of extra whitespace in query to avoid mysql errors.

parent a79c2539
......@@ -151,6 +151,8 @@ if (! TBvalid_userdata($query)) {
PAGEFOOTER();
return;
}
# Strip leading and trailing whitespace to avoid confusion below.
$query = trim($query);
#
# Look for special "*" query; just get everything and list it.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment