summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/mozilla/admin.pl2
-rwxr-xr-xsql/Pg-functions.sql6
2 files changed, 3 insertions, 5 deletions
diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl
index 5da3a86e..a6805734 100755
--- a/bin/mozilla/admin.pl
+++ b/bin/mozilla/admin.pl
@@ -594,7 +594,7 @@ sub form_header {
<table>
<tr>|;
- $checked = "";
+ $checked = "checked";
if ($myconfig->{dbdriver} eq $item) {
diff --git a/sql/Pg-functions.sql b/sql/Pg-functions.sql
index ee70b0e7..c11def4d 100755
--- a/sql/Pg-functions.sql
+++ b/sql/Pg-functions.sql
@@ -249,15 +249,13 @@ BEGIN
RETURN v_cost;
END;
-' language 'plpgsql';
+' language plpgsql;
-- end function
--
-CREATE OR REPLACE FUNCTION trigger_parts_short() RETURNS TRIGGER
-AS
-'
CREATE OR REPLACE FUNCTION trigger_parts_short() RETURNS TRIGGER
AS
+'
BEGIN
IF NEW.onhand >= NEW.rop THEN
NOTIFY parts_short;