diff options
author | Andrew Dolgov <[email protected]> | 2021-02-08 09:00:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-08 09:00:29 +0300 |
commit | 0a788da2d2307412badf4bc42a4a8d8ed06801e1 (patch) | |
tree | ea44da514e80cbcdbec8cf5ac14ebb87dacaf9e8 | |
parent | 3aada04c7fe6d75857190b7001148164f08cf5f4 (diff) |
dlg: fix unset param warning
-rw-r--r-- | classes/dlg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/dlg.php b/classes/dlg.php index 2fa232053..426f934c8 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -7,7 +7,7 @@ class Dlg extends Handler_Protected { if (parent::before($method)) { header("Content-Type: text/html"); # required for iframe - $this->param = $_REQUEST["param"]; + $this->param = ($_REQUEST["param"] ?? false); return true; } return false; |