Skip to content

Commit

Permalink
[BF] Fix DateTime to string conversion (introducted in move from Doct…
Browse files Browse the repository at this point in the history
…rine 1.2 ->2)
  • Loading branch information
barryo committed Apr 8, 2014
1 parent c262bb3 commit 70c2478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/MeetingItemController.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected function getPresentationAction()
$this->redirect( 'meeting/read' );
}

$fn = "IXP_Members_Meeting_{$pres->getMeeting()->getDate()}_({$pres->getId()}).";
$fn = "IXP_Members_Meeting_{$pres->getMeeting()->getDate()->format( 'Y-m-d' )}_({$pres->getId()}).";

// What kind of file do we have?
if( preg_match( '/pdf$/i', $pres->getFilename() ) ) {
Expand Down

0 comments on commit 70c2478

Please sign in to comment.