summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-08 09:00:29 +0300
committerAndrew Dolgov <[email protected]>2021-02-08 09:00:29 +0300
commit0a788da2d2307412badf4bc42a4a8d8ed06801e1 (patch)
treeea44da514e80cbcdbec8cf5ac14ebb87dacaf9e8 /classes
parent3aada04c7fe6d75857190b7001148164f08cf5f4 (diff)
dlg: fix unset param warning
Diffstat (limited to 'classes')
-rw-r--r--classes/dlg.php2
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;