Commit 6188ff03 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add check for "postpone" with a non empty text box, as per Jay's

parent e756bb21
......@@ -72,6 +72,10 @@ if (mysql_num_rows($query_result) == 0) {
# value appropriately.
if (strcmp($approval, "postpone") == 0) {
if (isset($message) && strcmp($message, "")) {
USERERROR("You requested postponement for $pid, but there is a ".
"message in the text box. Is this what you intended?", 1);
echo "<p><h3>
Project approval for project $pid (User: $headuid) was
postponed for later decision.
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