do not test empty label expressions

master
Andrew Dolgov 18 years ago
parent 5ede560f8c
commit a4919a1663

@ -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);

@ -64,15 +64,15 @@ div.error {
h1 {
color : #88b0f0;
font-size : 16pt;
border-width : 0px 0px 1px 0px;
/* border-width : 0px 0px 1px 0px;
border-color : black;
border-style : solid;
border-style : solid; */
}
h2 {
color : #88b0f0;
font-size : 14pt;
border-width : 0px 0px 1px 0px;
/* border-width : 0px 0px 1px 0px;
border-color : black;
border-style : solid;
border-style : solid; */
}

Loading…
Cancel
Save