diff --git a/application/models/SurveymenuEntries.php b/application/models/SurveymenuEntries.php index 48e016b8b4f..4f68ff3dc8a 100644 --- a/application/models/SurveymenuEntries.php +++ b/application/models/SurveymenuEntries.php @@ -71,7 +71,7 @@ public function relations() // class name for the relations automatically generated below. return array( 'menu' => array(self::BELONGS_TO, 'Surveymenu', 'menu_id', 'together' => true), - 'user' => array(self::BELONGS_TO, 'Users', 'user_id'), + 'user' => array(self::BELONGS_TO, 'User', 'user_id'), ); }