Removed bug to allow CRU operation, D not yet tested

This commit is contained in:
Christian Wolf 2019-05-20 14:57:55 +02:00
parent f4f59dcc81
commit 6209d1aca6
2 changed files with 3 additions and 3 deletions

View File

@ -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){}

View File

@ -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)