mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-22 10:44:09 +01:00
Should no longer need the condition
This commit is contained in:
parent
22e9185cde
commit
248c0fdece
@ -163,13 +163,7 @@ class DashComponentController extends Controller
|
||||
*/
|
||||
public function postAddComponentGroup()
|
||||
{
|
||||
$_group = Binput::get('group');
|
||||
|
||||
if (!isset($_group['group_id'])) {
|
||||
$_group['group_id'] = 0;
|
||||
}
|
||||
|
||||
$group = ComponentGroup::create($_group);
|
||||
$group = ComponentGroup::create(Binput::get('group'));
|
||||
|
||||
return Redirect::back()->withGroup($group);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user