yiisoft/yii — pull request #680 by richardpeng (2012-05-04 20:26:53+00:00)
Title: Fix detection of one-to-one db relationships

Previously, one-to-one relationships weren't properly detected because the wrong variables were being compared.