diff options
author | Friendika <info@friendika.com> | 2011-05-23 20:30:37 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-23 20:30:37 -0700 |
commit | 040fc247a0caa51e0d4da4169980dc32e80ee804 (patch) | |
tree | edbf6122cc4b099222bf9ca6acf38f0aa7982aea /mod/item.php | |
parent | 19ccd658ebcf13a7cc208a3e460e44d152dda32f (diff) | |
download | volse-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.php | 5 |
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(); } } |