]> git.mxchange.org Git - friendica.git/commitdiff
cal export - little fix for json
authorrabuzarus <>
Mon, 20 Jun 2016 21:38:34 +0000 (23:38 +0200)
committerrabuzarus <>
Mon, 20 Jun 2016 21:38:34 +0000 (23:38 +0200)
mod/events.php

index b53fe9fd9585ff155c508f7059de7c71bd038b8c..878bf841d2967c407988c2f8ab60046f5489f11f 100644 (file)
@@ -15,7 +15,7 @@ function events_init(&$a) {
        if($a->argc == 1) {
                // if it's a json request abort here becaus we don't
                // need the widget data
-               if($a->argv[1] !== 'json')
+               if($a->argv[1] === 'json')
                        return;
 
                $cal_widget = widget_events();