← Back to team overview

mahara-contributors team mailing list archive

[Bug 585613] [NEW] A langstring in class ActivityTypeArtefactCommentFeedback needs to be replaced.

 

Public bug reported:

Langstring "feedbacknotificationhtml" in class
ActivityTypeArtefactCommentFeedback needs to be replaced with
"feedbacknotificationtext" as below.

File: artefact/comment/lib.php
Line: 970

[before]
        // Email

... skip ...

        $this->users[0]->emailmessage = get_string_from_language(
            $lang, 'feedbacknotificationhtml', 'artefact.comment',
            $authorname, $title, $posttime, trim(html2text($body)), $this->url
        );

[after]
        // Email

... skip ...

        $this->users[0]->emailmessage = get_string_from_language(
            $lang, 'feedbacknotificationtext', 'artefact.comment',
            $authorname, $title, $posttime, trim(html2text($body)), $this->url
        );

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
A langstring in class ActivityTypeArtefactCommentFeedback needs to be replaced.
https://bugs.launchpad.net/bugs/585613
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
Langstring "feedbacknotificationhtml" in class ActivityTypeArtefactCommentFeedback needs to be replaced with "feedbacknotificationtext" as below.

File: artefact/comment/lib.php
Line: 970

[before]
        // Email

... skip ...

        $this->users[0]->emailmessage = get_string_from_language(
            $lang, 'feedbacknotificationhtml', 'artefact.comment',
            $authorname, $title, $posttime, trim(html2text($body)), $this->url
        );

[after]
        // Email

... skip ...

        $this->users[0]->emailmessage = get_string_from_language(
            $lang, 'feedbacknotificationtext', 'artefact.comment',
            $authorname, $title, $posttime, trim(html2text($body)), $this->url
        );





Follow ups

References