Commit 8c4396f0 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix. The email address of testbed-ops was not getting spit out

in error message cause of some missing global statements.
parent 84e4a391
......@@ -62,7 +62,7 @@ function GENKEY ($name) {
# should then terminate if required to do so.
#
function TBERROR ($message, $death) {
global $TBMAIL_WWW, $TBMAIL_OPS;
global $TBMAIL_WWW, $TBMAIL_OPS, $TBMAILADDR
mail($TBMAIL_OPS,
"TESTBED WEB ERROR REPORT",
......@@ -95,6 +95,8 @@ function TBERROR ($message, $death) {
# General user errors should print something warm and fuzzy
#
function USERERROR($message, $death) {
global $TBMAILADDR;
echo "<h3><br><br>
$message
<br>
......
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