From: Roland Häder Date: Thu, 26 Jan 2017 14:23:30 +0000 (+0100) Subject: added spaces + some curly braces + some usage of dbm::is_result() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc21bf0ee665a978b027d15acc9ec85755d98b9d;p=friendica.git added spaces + some curly braces + some usage of dbm::is_result() Signed-off-by: Roland Häder --- diff --git a/mod/_well_known.php b/mod/_well_known.php index 782dc7a1b1..fb8df4861f 100644 --- a/mod/_well_known.php +++ b/mod/_well_known.php @@ -52,7 +52,7 @@ function wk_social_relay() $tags[$tag] = $tag; } - if (Config::get('system', 'relay_user_tags')) { + if (get_config('system', 'relay_user_tags')) { $terms = q("SELECT DISTINCT(`term`) FROM `search`"); foreach ($terms AS $term) { diff --git a/mod/events.php b/mod/events.php index cad440f164..bbd6337c37 100644 --- a/mod/events.php +++ b/mod/events.php @@ -433,6 +433,7 @@ function events_content(App $a) { if (x($_REQUEST, 'location')) {$orig_event['location'] = $_REQUEST['location'];} if (x($_REQUEST, 'start')) {$orig_event['start'] = $_REQUEST['start'];} if (x($_REQUEST, 'finish')) {$orig_event['finish'] = $_REQUEST['finish'];} + if (x($_REQUEST,'finish')) $orig_event['finish'] = $_REQUEST['finish']; $n_checked = ((x($orig_event) && $orig_event['nofinish']) ? ' checked="checked" ' : ''); $a_checked = ((x($orig_event) && $orig_event['adjust']) ? ' checked="checked" ' : '');