gugoan
(Gugoan)
1
Guys, I have this code
<?php
$nivelusuario = CHtml::listData(NivelUsuario::model()->findAll(), 'id_nivel_usuario', 'desc_nivel');
echo $form->dropDownListRow($model, 'id_nivel_usuario', array('prompt'=>'--Selecione--',$nivelusuario));
?>
and this component thus generating the img: http://imageshack.us/photo/my-images/109/errojo.jpg
how to remove that 0 
What is the correct way to use it ??

gugoan
(Gugoan)
2
I fix it:
<?php
$nivelusuario = CHtml::listData(NivelUsuario::model()->findAll(), 'id_nivel_usuario', 'desc_nivel');
echo $form->dropDownListRow($model, 'id_nivel_usuario', $nivelusuario, array('prompt'=>'--Selecione--'));
?>