CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #26105

###POSTTITLE### marker in admin notification mail is not filled

Added by Christian Hennecke about 2 years ago. Updated 12 months ago.

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

Attached a patch based upon v1.2.0

Also available in: Atom PDF