init
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | <option value="<?= $v->id ?>"><?= $v->name ?></option> | 32 | <option value="<?= $v->id ?>"><?= $v->name ?></option> |
| 33 | <?php if ($v->children && !empty($v->children)): ?> | 33 | <?php if ($v->children && !empty($v->children)): ?> |
| 34 | <?php foreach ($v->children as $kk => $vv): ?> | 34 | <?php foreach ($v->children as $kk => $vv): ?> |
| 35 | <option value="<?= $vv->id ?>" <?php if(in_array($vv->id,$this->roles)) echo 'selected';?> ><?= $vv->name ?></option> | 35 | <option value="<?= $vv->id ?>" <?php if(in_array($vv->id,$roles)) echo 'selected';?> ><?= $vv->name ?></option> |
| 36 | <?php endforeach; ?> | 36 | <?php endforeach; ?> |
| 37 | <?php endif; ?> | 37 | <?php endif; ?> |
| 38 | <?php endforeach; ?> | 38 | <?php endforeach; ?> | ... | ... |
-
Please register or sign in to post a comment