Teodorih / yii-user

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

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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