aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-23 20:30:37 -0700
committerFriendika <info@friendika.com>2011-05-23 20:30:37 -0700
commit040fc247a0caa51e0d4da4169980dc32e80ee804 (patch)
treeedbf6122cc4b099222bf9ca6acf38f0aa7982aea /mod/item.php
parent19ccd658ebcf13a7cc208a3e460e44d152dda32f (diff)
downloadvolse-hubzilla-040fc247a0caa51e0d4da4169980dc32e80ee804.tar.gz
volse-hubzilla-040fc247a0caa51e0d4da4169980dc32e80ee804.tar.bz2
volse-hubzilla-040fc247a0caa51e0d4da4169980dc32e80ee804.zip
bug #85
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index 15dca3750..1a7acadf3 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -462,6 +462,7 @@ function item_post(&$a) {
// Send a notification email to the conversation owner, unless the owner is me and I wrote this item
if(($user['notify-flags'] & NOTIFY_COMMENT) && ($contact_record != $author)) {
+ push_lang($user['language']);
require_once('bbcode.php');
$from = $author['name'];
@@ -517,6 +518,8 @@ function item_post(&$a) {
$email_html_body_tpl,
$email_text_body_tpl
);
+
+ pop_lang();
}
}
else {
@@ -525,6 +528,7 @@ function item_post(&$a) {
// let me know if somebody did a wall-to-wall post on my profile
if(($user['notify-flags'] & NOTIFY_WALL) && ($contact_record != $author)) {
+ push_lang($user['language']);
require_once('bbcode.php');
$from = $author['name'];
@@ -578,6 +582,7 @@ function item_post(&$a) {
$email_html_body_tpl,
$email_text_body_tpl
);
+ pop_lang();
}
}