Hi i using Yii to make my website. I just begin to learn it and and always get one error.
'VendorsPhone'=>array(self::HAS_ONE, 'VendorsPhone', 'Id'),
I create 2 table and relations between them
Make code in CGridView
'type' => 'raw',
It is working but when for example it did not find anything in Vendors Phone because it is not filled out it show me error. and stops script. How I can fix it ?
Thank Everyone for help.