1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-01 14:29:14 +00:00

do not test empty label expressions

This commit is contained in:
Andrew Dolgov
2007-05-14 09:16:48 +01:00
parent 5ede560f8c
commit a4919a1663
2 changed files with 9 additions and 4 deletions

View File

@@ -81,6 +81,11 @@
$expr = db_unescape_string(trim($_GET["expr"]));
$descr = db_unescape_string(trim($_GET["descr"]));
if (!$expr) {
print "<div>Error: SQL expression is blank.</div>";
return;
}
print "<div>";
error_reporting(0);