Fix a few bugs in the communication module

This commit is contained in:
james 2006-02-07 20:56:54 +00:00
parent 9cff01736d
commit db5b20d54a
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ if(file_exists("../data/communication.lock"))
echo "<h3>".i18n("Progress")."</h3>"; echo "<h3>".i18n("Progress")."</h3>";
echo "<div style=\"margin-left: 20px\">"; echo "<div style=\"margin-left: 20px\">";
if(file_exists("../data/commmunication.lock.$id")) if(file_exists("../data/communication.lock.$id"))
{ {
$progresslines=file("../data/communication.lock.$id"); $progresslines=file("../data/communication.lock.$id");
$num=$progresslines[0]; $num=$progresslines[0];

View File

@ -50,7 +50,7 @@ if(file_exists("../data/communication.lock"))
$q=mysql_query("SELECT firstname, lastname, email FROM judges ORDER BY email"); $q=mysql_query("SELECT firstname, lastname, email FROM judges ORDER BY email");
break; break;
default: default:
echo i18n("Unknown 'to' to send email communication to (%1)",array($_GET['to'])); echo i18n("Unknown 'to' to send email communication to (%1)",array($to));
} }
while($r=mysql_fetch_object($q)) while($r=mysql_fetch_object($q))