From c701d9277922b85e4302582781bd8e2e3de61c51 Mon Sep 17 00:00:00 2001 From: Werner Masik Date: Wed, 15 Apr 2026 11:15:10 +0200 Subject: [PATCH] fix db_update --- system/dbupdate_3.4/70376_lohnguide.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/system/dbupdate_3.4/70376_lohnguide.php b/system/dbupdate_3.4/70376_lohnguide.php index 2c1eb1845..5a31c8568 100644 --- a/system/dbupdate_3.4/70376_lohnguide.php +++ b/system/dbupdate_3.4/70376_lohnguide.php @@ -368,23 +368,6 @@ if ($result = $db->db_query("SELECT * FROM information_schema.columns WHERE colu } } -if ($result = $db->db_query("SELECT * FROM hr.tbl_gehaltstyp WHERE gehaltstyp_kurzbz='ueberstundenpauschale'")) -{ - if ($db->db_num_rows($result) == 0) - { - $qry = " - INSERT INTO hr.tbl_gehaltstyp - (gehaltstyp_kurzbz, bezeichnung, valorisierung, sort, aktiv, lvexport) - VALUES - ('ueberstundenpauschale','Überstundenpauschale', true, 8, true); - "; - - if (! $db->db_query($qry)) - echo 'Gehaltstyp: ' . $db->db_last_error() . '
'; - else - echo 'Gehaltstyp "Überstundenpauschale" erstellt.
'; - } -} if ($result = $db->db_query("SELECT * FROM hr.tbl_gehaltstyp WHERE gehaltstyp_kurzbz='ueberstundenpauschale'")) {