CHtml and CGridColumn problem

Hello everyone,

Since I’ve updated yii repo I’ve got problem with:

This is problematic code - CGridColumn definition in CGridView columns property (it worked fine before update):


array (

                'value' => ' CHtml::link("<i class=\"icon-pencil\"></i> Edytuj",bu()."/".app()->controller->module->id."/".app()->controller->id."/update/id/".$data->id,array("class"=>"btn btn-small")) ',

                'type' => 'raw',

                'htmlOptions'=>array('width'=>'70px'),

                "filter"=>false

            ),

Any ideas?

Thanks in advance for any response

Problem solved

I’ve found solution (in index.php):


error_reporting(E_ERROR);

It was php warning that wasn’t in previous version but everything working fine right now … strange :D