yiisoft/yii — pull request #975 by cebe (2012-07-15 00:41:04+00:00)
Title: CErrorHandler only set headers if not sent

this has been missed in commit f68fef2fe2cc21859e2bd490f63eaf1a6c5e5973 and causes php warning if headers where sent.