google-code-export / yii-user

Automatically exported from code.google.com/p/yii-user
1 stars 1 forks source link

No checking for the existence of $_POST['Profile'] #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
AdminController (line 77, 106) and ProfileController (line 43) : 
$profile->attributes=$_POST['Profile']; is replaced by 
$profile->attributes=((isset($_POST['Profile'])?$_POST['Profile']:array()));
Am I right?

Original issue reported on code.google.com by MrRiv...@gmail.com on 20 Jul 2011 at 7:47