aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2015-09-25 11:19:42 +0200
committerzottel <github@zottel.net>2015-09-25 11:19:42 +0200
commita7b2d23e9b59805a35380478ca3501fc315edb78 (patch)
treea2f6517fa09b83419403b93663e3ccd187fa3fbf /include/event.php
parent03fb13e7497457d5fe69fc8ed007e5e49a2d6d8a (diff)
parentba94f824b992f9ed787a71c2956388e975058ca8 (diff)
downloadvolse-hubzilla-a7b2d23e9b59805a35380478ca3501fc315edb78.tar.gz
volse-hubzilla-a7b2d23e9b59805a35380478ca3501fc315edb78.tar.bz2
volse-hubzilla-a7b2d23e9b59805a35380478ca3501fc315edb78.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php
index f0a806dfa..e303ad232 100644
--- a/include/event.php
+++ b/include/event.php
@@ -755,12 +755,15 @@ function event_store_item($arr, $event) {
}
}
+
+
$item_arr = array();
$prefix = '';
// $birthday = false;
if($event['type'] === 'birthday') {
- $prefix = t('This event has been added to your calendar.');
+ if(! is_sys_channel($arr['uid']))
+ $prefix = t('This event has been added to your calendar.');
// $birthday = true;
// The event is created on your own site by the system, but appears to belong