Skip to content

Commit

Permalink
Closes #5430 - Userclass batch change options.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Feb 5, 2025
1 parent a4b06a6 commit bd44f69
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e107_admin/userclass2.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ public function init()
$this->fields['userclass_visibility']['writeParms']['default'] = e_UC_ADMIN;
$this->fields['userclass_id']['writeParms']['default'] =$this->getUserClassAdmin()->findNewClassID();

if(getperms('0'))
{
$this->fields['userclass_editclass']['batch'] = true;
$this->fields['userclass_visibility']['batch'] = true;
}

}

/**
Expand Down

0 comments on commit bd44f69

Please sign in to comment.