Bug #26105
###POSTTITLE### marker in admin notification mail is not filled
| Status: | Accepted | Start date: | 2011-04-19 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Bug | |||
| Target version: | - | |||
| Votes: | 0 |
Description
Inserting the title of a commented post into the admin notification email via the ###POSTTITLE### marker does not work. The reason is that the line
$postUid = intval($this->localPiVars['uid']);
uses the wrong variable. Either you use the GET variable tx_t3blog[blogList][showUid ] as in
$postUid = intval($this->localPiVars['showUid']);
or you access the uid variable from the posted form.
History
Updated by Felix Nagel about 2 years ago
- Category set to Bug
- Status changed from New to Needs Feedback
At least in v1.1.1 I am able to reproduce the issue. Christians patch works for me!
Updated by Felix Nagel about 2 years ago
- Status changed from Needs Feedback to New
Updated by Felix Nagel about 2 years ago
There is a easier, better way to fix this. Just use: $this->uid in the DB request as this is set by function setPostUid in init() and makes sure showUid and showUidPerma are possible piVars.
Updated by Felix Nagel 12 months ago
- File 0001-Fixed-bug-26105-POSTTITLE-marker-in-admin-notificati.patch added
- Status changed from New to Accepted
- Priority changed from Should have to Must have
Attached a patch based upon v1.2.0