Merge branch 'master' of https://github.com/adefaria/clearscm
[clearscm.git] / maps / php / main.php
index 9313485..0ac4ab9 100755 (executable)
@@ -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) {