From 55f7cc55311ad372b12a75d3e2a95305b097cd34 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Tue, 14 Jan 2020 20:25:11 +0100 Subject: Rev: 4591 --- mayor-orig/mayor-naplo/www/include/modules/naplo/uzeno/uzeno.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mayor-orig/mayor-naplo/www/include/modules') diff --git a/mayor-orig/mayor-naplo/www/include/modules/naplo/uzeno/uzeno.php b/mayor-orig/mayor-naplo/www/include/modules/naplo/uzeno/uzeno.php index 561c97ff..8affb9ac 100644 --- a/mayor-orig/mayor-naplo/www/include/modules/naplo/uzeno/uzeno.php +++ b/mayor-orig/mayor-naplo/www/include/modules/naplo/uzeno/uzeno.php @@ -180,7 +180,7 @@ $txt = ($ADAT['txt']); $dbName = 'naplo_'.__INTEZMENY.'_'.$ADAT['tanev']; - if ($cimzettId>0 && $feladoId>0 && $txt!='') { + if ($txt!='') { $q = "INSERT INTO `%s`.uzeno (dt,txt,feladoId,feladoTipus,cimzettId,cimzettTipus) VALUES (NOW(), '%s', %u, '%s', %u, '%s')"; $v = array($dbName, $txt, $feladoId, $feladoTipus, $cimzettId, $cimzettTipus); return db_query($q,array('fv' => 'uzeno/postUzenet', 'modul' => 'naplo_intezmeny', 'values' => $v)); -- cgit v1.2.3