phpstan level 1 errors reduction
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
/** @var array $CONFIG basic configurations (defined via bootstraping) */
|
||||
/** @var array $SECRETS passwords and other stuff worth of protection (defined via bootstraping) */
|
||||
require_once "bootstrap.php";
|
||||
|
||||
require_once "./lib/api.php";
|
||||
@@ -259,6 +261,8 @@ class Attendance
|
||||
|
||||
// show own ...
|
||||
|
||||
// show own ...
|
||||
|
||||
$ownAttendances = Attendance::getUsersAttendance($_SESSION["user"]["userId"]);
|
||||
if (!empty($ownAttendances)) {
|
||||
echo '<h2 id="attendance-' .
|
||||
|
||||
Reference in New Issue
Block a user