aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-25 17:52:58 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-25 17:52:58 +0200
commitb22fa9f7f4b77569c29b0fc881373393281b7bf4 (patch)
tree510549743c5dede2ab5360a516768264fb29336b /include/event.php
parent414b5ea6f3ad616c5211b0e9d4b811c149decf26 (diff)
parentba94f824b992f9ed787a71c2956388e975058ca8 (diff)
downloadvolse-hubzilla-b22fa9f7f4b77569c29b0fc881373393281b7bf4.tar.gz
volse-hubzilla-b22fa9f7f4b77569c29b0fc881373393281b7bf4.tar.bz2
volse-hubzilla-b22fa9f7f4b77569c29b0fc881373393281b7bf4.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