Fixed FK in licenses model

This commit is contained in:
snipe
2013-12-06 04:58:21 -05:00
parent b697c77cd8
commit 432f44118f
+1 -1
View File
@@ -40,7 +40,7 @@ class License extends Elegant {
*/
public function adminuser()
{
return $this->belongsTo('User','id');
return $this->belongsTo('User','user_id');
}
/**