]> git.mxchange.org Git - friendica.git/commitdiff
added spaces + some curly braces + some usage of dbm::is_result()
authorRoland Häder <roland@mxchange.org>
Thu, 26 Jan 2017 14:23:30 +0000 (15:23 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:50:01 +0000 (22:50 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
mod/_well_known.php
mod/events.php

index 782dc7a1b145973eb2a1b061701f89c37ac17d80..fb8df4861f8f68cf75bb91dbbcb3be2207568e4b 100644 (file)
@@ -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) {
index cad440f164c542feb6915868b0d49d18e997f277..bbd6337c3792c32a3b4b0f71df2568e5d1484793 100644 (file)
@@ -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" ' : '');