Redundant condition for "names" has been removed from "CActiveRecord::getAttributes()"
PR #2569 has been reverted.