From be59fe86e5e719c5fe058748bd1db9519b9bda0c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 14 Apr 2017 15:29:50 +0200 Subject: [PATCH] added space + type-hinted $a (App) Signed-off-by: Roland Haeder --- include/conversation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 4476411246..6ce9a6dea4 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1209,7 +1209,7 @@ function format_like($cnt, array $arr, $type, $id) { return $o; }} -function status_editor($a,$x, $notes_cid = 0, $popup = false) { +function status_editor(App $a, $x, $notes_cid = 0, $popup = false) { $o = ''; $geotag = (x($x, 'allow_location') ? replace_macros(get_markup_template('jot_geotag.tpl'), array()) : ''); @@ -1250,7 +1250,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup = false) { // Private/public post links for the non-JS ACL form $private_post = 1; - if ($_REQUEST['public']) { + if (x($_REQUEST, 'public')) { $private_post = 0; } -- 2.39.5