Removed bug to allow CRU operation, D not yet tested
This commit is contained in:
parent
f4f59dcc81
commit
6209d1aca6
@ -151,8 +151,8 @@ abstract class AbstractClubsController extends BaseController
|
||||
if(isset($values[$m]))
|
||||
$data[$m] = $values[$m];
|
||||
}
|
||||
|
||||
return urlencode(json_encode($data));
|
||||
$json = json_encode($data);
|
||||
return urlencode($json);
|
||||
}
|
||||
|
||||
protected function filterPrePacking(&$values){}
|
||||
|
@ -34,7 +34,7 @@ class ClubsControllerClub extends AbstractClubsController
|
||||
else
|
||||
$values['charitable'] = true;
|
||||
|
||||
$values['president'] = ClubsUser::loadUser((int)($values['president']));
|
||||
$values['president'] = (int)($values['president']);
|
||||
}
|
||||
|
||||
protected function filterPrePacking(&$values)
|
||||
|
Loading…
Reference in New Issue
Block a user