@@ -92,7 +92,7 @@ |
||
92 | 92 | private static function _check_permissions(bool $deleted) : bool |
93 | 93 | { |
94 | 94 | // PONDER: Check for some generic user privilege instead ?? |
95 | - if ( $deleted |
|
95 | + if ($deleted |
|
96 | 96 | && !midcom_connection::is_admin() |
97 | 97 | && !midcom::get()->auth->is_component_sudo()) { |
98 | 98 | debug_add('Non-admins are not allowed to list deleted objects', MIDCOM_LOG_ERROR); |