With strict errors turned on I had to tweak the code in YiiMailMessage.php
At line 134 I have changed the code to:
// if Yii::app()->controller doesn't exist create a dummy
// controller to render the view (needed in the console app)
if(isset(Yii::app()->controller))
{
$controller = Yii::app()->controller;
} else
{
$controller = new CController('YiiMail');
}
Original issue reported on code.google.com by lxm...@googlemail.com on 23 Nov 2010 at 11:34
Original issue reported on code.google.com by
lxm...@googlemail.com
on 23 Nov 2010 at 11:34