dlg: fix unset param warning

This commit is contained in:
Andrew Dolgov 2021-02-08 09:00:29 +03:00
parent 3aada04c7f
commit 0a788da2d2
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Dlg extends Handler_Protected {
if (parent::before($method)) { if (parent::before($method)) {
header("Content-Type: text/html"); # required for iframe header("Content-Type: text/html"); # required for iframe
$this->param = $_REQUEST["param"]; $this->param = ($_REQUEST["param"] ?? false);
return true; return true;
} }
return false; return false;