mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 12:33:27 +02:00
Avoid globals where possible
$logged => logged() $account_logged => accountLogged()
This commit is contained in:
@@ -26,7 +26,7 @@ if(empty($errors)) {
|
||||
}
|
||||
|
||||
if(empty($errors)) {
|
||||
if($logged) {
|
||||
if(logged()) {
|
||||
if(admin()) {
|
||||
$saved = false;
|
||||
if(isset($_POST['todo']) && $_POST['todo'] == 'save') {
|
||||
|
Reference in New Issue
Block a user