diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index 5260e7659..565342700 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -81,6 +81,11 @@
$expr = db_unescape_string(trim($_GET["expr"]));
$descr = db_unescape_string(trim($_GET["descr"]));
+ if (!$expr) {
+ print "
Error: SQL expression is blank.
";
+ return;
+ }
+
print "";
error_reporting(0);
diff --git a/utility.css b/utility.css
index 54e5b0552..d6cac4f22 100644
--- a/utility.css
+++ b/utility.css
@@ -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; */
}