diff --git a/admin/communication_send_status.php b/admin/communication_send_status.php
index 520a1780..f3b4d940 100644
--- a/admin/communication_send_status.php
+++ b/admin/communication_send_status.php
@@ -50,7 +50,7 @@ if(file_exists("../data/communication.lock"))
echo "
".i18n("Progress")."
";
echo "";
- if(file_exists("../data/commmunication.lock.$id"))
+ if(file_exists("../data/communication.lock.$id"))
{
$progresslines=file("../data/communication.lock.$id");
$num=$progresslines[0];
diff --git a/admin/send_communication.php b/admin/send_communication.php
index 2024a83c..11de14aa 100644
--- a/admin/send_communication.php
+++ b/admin/send_communication.php
@@ -50,7 +50,7 @@ if(file_exists("../data/communication.lock"))
$q=mysql_query("SELECT firstname, lastname, email FROM judges ORDER BY email");
break;
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))