ci-bonfire/Bonfire — pull request #602 by mwhitneysdsu (2012-09-28 01:51:24+00:00)
Title: Fix error (notice) undefined index on role update

When updating a role the system briefly displays a PHP error and logs:
ERROR - 2012-09-27 20:44:59 --> Severity: Notice --> Undefined index:
status
C:\Users\mwhitney\apache\webroot\bonfire\application\core_modules\permissions\models\permission_model.php
181

Traced it back to
/application/core_modules/roles/controllers/settings.php line 359, where
the roles controller attempts to update permissions with a call to
update_where().

Since it's conceivable someone might want to update a permission without
changing its status, it should be ok to call update without
$data['status'] being set.