From e876cb9775abe5cc8a9d940471b28cb86ac4811b Mon Sep 17 00:00:00 2001 From: solocla Date: Thu, 11 Dec 2025 10:48:19 +0100 Subject: [PATCH] fix eomployees --- public/userarea/employees.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/public/userarea/employees.php b/public/userarea/employees.php index 93b0fd2..a2f2307 100644 --- a/public/userarea/employees.php +++ b/public/userarea/employees.php @@ -319,11 +319,7 @@ $users = $stmtUsers->fetchAll(PDO::FETCH_ASSOC); - - - No employees found - - + fetchAll(PDO::FETCH_ASSOC); + @@ -558,10 +555,12 @@ $users = $stmtUsers->fetchAll(PDO::FETCH_ASSOC); ], pageLength: 25, language: { - url: 'https://cdn.datatables.net/plug-ins/1.13.6/i18n/it-IT.json' + url: 'https://cdn.datatables.net/plug-ins/1.13.6/i18n/it-IT.json', + emptyTable: 'Nessun dipendente presente' } }); + // Select2 on user selects $('#addAuthUserId, #editAuthUserId').select2({ theme: 'bootstrap-5',