added space + type-hinted $a (App)

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder 2017-04-14 15:29:50 +02:00
parent 3a197833cd
commit be59fe86e5
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

@ -1209,7 +1209,7 @@ function format_like($cnt, array $arr, $type, $id) {
return $o; return $o;
}} }}
function status_editor($a,$x, $notes_cid = 0, $popup = false) { function status_editor(App $a, $x, $notes_cid = 0, $popup = false) {
$o = ''; $o = '';
$geotag = (x($x, 'allow_location') ? replace_macros(get_markup_template('jot_geotag.tpl'), array()) : ''); $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/public post links for the non-JS ACL form
$private_post = 1; $private_post = 1;
if ($_REQUEST['public']) { if (x($_REQUEST, 'public')) {
$private_post = 0; $private_post = 0;
} }