Skip to content

Commit

Permalink
Migrations to 1.3+ default echo is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
John committed Jul 28, 2011
1 parent 9ebdee8 commit e7470f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion views/layouts/admin_login.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
<div id="main">
<div id="login">
<?php
$layout->sessionFlash();
/**
* CakePHP 1.3+ no have echo by default
* @see http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3#Controller-Components-1564
*/
echo $layout->sessionFlash();
echo $content_for_layout;
?>
</div>
Expand Down

0 comments on commit e7470f6

Please sign in to comment.