aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/include
diff options
context:
space:
mode:
authorM.Gergo2020-01-14 20:25:11 +0100
committerM.Gergo2020-01-14 20:25:11 +0100
commit55f7cc55311ad372b12a75d3e2a95305b097cd34 (patch)
treef38676aa4f27c873aaaf949ffcd2a4e874b540c4 /mayor-orig/mayor-naplo/www/include
parent7891f65fb7544f3b1a126f8e0688889d6a6954f3 (diff)
downloadmayor-rev4591.tar.gz
mayor-rev4591.zip
Rev: 4591rev4591
Diffstat (limited to 'mayor-orig/mayor-naplo/www/include')
-rw-r--r--mayor-orig/mayor-naplo/www/include/modules/naplo/uzeno/uzeno.php2
1 files changed, 1 insertions, 1 deletions
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));