From: rabuzarus <>
Date: Mon, 20 Jun 2016 21:38:34 +0000 (+0200)
Subject: cal export - little fix for json
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d076f61a4aa6faaef981a47ed53c09c950027464;p=friendica.git

cal export - little fix for json
---

diff --git a/mod/events.php b/mod/events.php
index b53fe9fd95..878bf841d2 100644
--- a/mod/events.php
+++ b/mod/events.php
@@ -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();