diff options
author | Mario <mario@mariovavti.com> | 2024-07-08 20:35:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-07-08 20:35:08 +0000 |
commit | 5cbae0fb81078a60c9fa507be9c725856d7ecb29 (patch) | |
tree | 32bcec63c1b3d13feb1576f4512e73ba1cca14ef /Zotlabs/Module/Admin/Channels.php | |
parent | 2ddc0875128e17a9e36393974d721f19ccbe64e3 (diff) | |
download | volse-hubzilla-5cbae0fb81078a60c9fa507be9c725856d7ecb29.tar.gz volse-hubzilla-5cbae0fb81078a60c9fa507be9c725856d7ecb29.tar.bz2 volse-hubzilla-5cbae0fb81078a60c9fa507be9c725856d7ecb29.zip |
improve handling of sse especially in relation with page reloads
Diffstat (limited to 'Zotlabs/Module/Admin/Channels.php')
-rw-r--r-- | Zotlabs/Module/Admin/Channels.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Channels.php b/Zotlabs/Module/Admin/Channels.php index 52b661420..cd1d2b6fe 100644 --- a/Zotlabs/Module/Admin/Channels.php +++ b/Zotlabs/Module/Admin/Channels.php @@ -126,7 +126,7 @@ class Channels { goaway(z_root() . '/admin/channels' ); } - $key = (($_REQUEST['key']) ? dbesc($_REQUEST['key']) : 'channel_id'); + $key = ((isset($_REQUEST['key']) && $_REQUEST['key']) ? dbesc($_REQUEST['key']) : 'channel_id'); $dir = 'asc'; if(array_key_exists('dir',$_REQUEST)) $dir = ((intval($_REQUEST['dir'])) ? 'asc' : 'desc'); |