mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 01:09:21 +02:00
*fixed displaying custom pages
* fixed adding new group board
This commit is contained in:
parent
2edeb1b3e2
commit
cd44d28674
@ -276,7 +276,7 @@ if($load_it)
|
||||
|
||||
$ignore = false;
|
||||
|
||||
$logged_access = 0;
|
||||
$logged_access = 1;
|
||||
if($logged && $account_logged && $account_logged->isLoaded()) {
|
||||
$logged_access = $account_logged->getAccess();
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
||||
<td>
|
||||
<select name="access">
|
||||
{% for id, group in groups %}
|
||||
<option value="{{ group.getAccess() }}"{% if access == group.getId() %} selected{% endif %}>{{ group.getName() }}</option>
|
||||
<option value="{{ group.getId() }}"{% if access == group.getId() %} selected{% endif %}>{{ group.getName() }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user