After updating Yii to 1.1.20 I get the error
reset() expects parameter 1 to be array, integer given
when clicking the diff
option in Model generator.
I found the function in https://github.com/yiisoft/yii/blob/master/framework/gii/components/Pear/Text/Diff/Engine/native.php#L194 and https://github.com/yiisoft/yii/blob/master/framework/gii/components/Pear/Text/Diff/Engine/native.php#L206
So i cannot find the solution.