Skip to content

Commit

Permalink
fix: issue #544
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Sep 13, 2019
1 parent fb1a484 commit 6db7801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/models/Fuel_users_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ protected function _is_invite()
public function delete($where)
{
//prevent the deletion of the super admins
$where['super_admin'] = 'no';
$this->db->where(array('super_admin' => 'no'));
return parent::delete($where);
}

Expand Down

0 comments on commit 6db7801

Please sign in to comment.