Added better error checking on MAPSDeliver
[clearscm.git] / maps / php / main.php
index 9313485..afe1755 100755 (executable)
@@ -1,4 +1,4 @@
-<?php 
+<?php
 ////////////////////////////////////////////////////////////////////////////////
 //
 // File:       $RCSFile$
@@ -17,7 +17,9 @@ include "MAPS.php";
 
 OpenDB ();
 
-$password = $_REQUEST ["password"];
+if (isset ($_REQUEST["password"])) {
+  $password = $_REQUEST ["password"];
+} // if
 
 if (isset ($userid)) {
   if (!$from_cookie) {
@@ -46,8 +48,7 @@ if (isset ($userid)) {
 <body>
 
 <div class="heading">
-  <h2 class="header" align="center">
-  <font class="standout">MAPS</font> Spam Elimination</h2>
+  <h2 class="header" align="center">Spam Elimination</h2>
 </div>
 
 <div class="content">