Development

#3886 (Problem when valiting a comment with date & stripped title enabled)

You must first sign up to be able to contribute.

Ticket #3886 (new defect)

Opened 5 months ago

Last modified 1 month ago

Problem when valiting a comment with date & stripped title enabled

Reported by: yohan-rouKs-g Assigned to: Kris.Wallsmith
Priority: minor Milestone:
Component: sfSimpleBlogPlugin Version: 1.0.17
Keywords: Cc:
Qualification: Unreviewed

Description

Problem when using stripped-title and date and comment posting.

the getDateFromRequest method is wrong.

Here the correction :

<code>

protected function getDateFromRequest() {

if (!is_null($this->getRequestParameter('date')))

return $this->getRequestParameter('date');

return $this->getRequestParameter('year').'-'.$this->getRequestParameter('month').'-'.$this->getRequestParameter('day');

}

</code>

Change History

10/31/08 19:39:01 changed by Kris.Wallsmith

  • owner changed from francois to Kris.Wallsmith.