Commit d2ede4b9 authored by Leigh Stoller's avatar Leigh Stoller

Minor adjustment to reflect schema change by Kevin.

parent 16d5579b
......@@ -100,7 +100,8 @@ if (!defined($lastseq)) {
# Grab the index number for the NOTICE priority.
#
$query_result =
DBQueryFatal("select priority from priorities where name='NOTICE'");
DBQueryFatal("select priority from priorities ".
"where priority_name='NOTICE'");
my ($NOTICE) = $query_result->fetchrow_array();
if (!defined($NOTICE)) {
fatal("No priority named 'NOTICE' in the priorities table!");
......
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