yiisoft/yii — pull request #681 by richardpeng (2012-05-04 21:25:54+00:00)
Title: fix detection of one-to-one relations

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