From: Roland Haeder Date: Fri, 14 Apr 2017 13:29:50 +0000 (+0200) Subject: added space + type-hinted $a (App) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be59fe86e5e719c5fe058748bd1db9519b9bda0c;p=friendica.git added space + type-hinted $a (App) Signed-off-by: Roland Haeder --- 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; }