check for existence of paramter command

This commit is contained in:
Uwe Steinmann 2020-08-31 12:58:48 +02:00
parent 0db704e44f
commit b9ea04658b

View File

@ -88,7 +88,7 @@ if (isset($_COOKIE["mydms_session"])) {
*/
header("Cache-Control: no-cache,no-store");
$command = $_REQUEST["command"];
$command = isset($_REQUEST["command"]) ? $_REQUEST["command"] : '';
switch($command) {
case 'checkpwstrength': /* {{{ */
$ps = new Password_Strength();