* Fix group error.
This commit is contained in:
@@ -68,6 +68,7 @@ class programModel extends model
|
||||
{
|
||||
$programID = $this->dao->lastInsertId();
|
||||
$today = helper::today();
|
||||
if($project->acl != 'open') $this->loadModel('user')->updateUserView($programID, 'program');
|
||||
|
||||
/* Save order. */
|
||||
$this->dao->update(TABLE_PROJECT)->set('`order`')->eq($programID * 5)->where('id')->eq($programID)->exec();
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<th><?php echo $lang->project->acl;?></th>
|
||||
<td colspan='3'><?php echo nl2br(html::radio('acl', $lang->program->aclList, $project->acl, "onclick='setWhite(this.value);'", 'block'));?></td>
|
||||
</tr>
|
||||
<tr id='whitelistBox' class='hidden'>
|
||||
<tr id='whitelistBox' <?php if($project->acl != 'custom') echo "class='hidden'";?>>
|
||||
<th><?php echo $lang->project->whitelist;?></th>
|
||||
<td colspan='3'><?php echo html::checkbox('whitelist', $groups, $project->whitelist, '', '', 'inline');?></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user