diff options
author | M.Gergo | 2020-01-18 15:15:50 +0100 |
---|---|---|
committer | M.Gergo | 2020-01-18 15:15:50 +0100 |
commit | 646b9fb3b8ae317d48772b3c81635a188e2e3cc6 (patch) | |
tree | cb33584007686cf9f2f4d935b3e3cce04a296eaf /mayor-orig/mayor-naplo/www/include | |
parent | 55f7cc55311ad372b12a75d3e2a95305b097cd34 (diff) | |
download | mayor-646b9fb3b8ae317d48772b3c81635a188e2e3cc6.tar.gz mayor-646b9fb3b8ae317d48772b3c81635a188e2e3cc6.zip |
Rev: 4592rev4592
Diffstat (limited to 'mayor-orig/mayor-naplo/www/include')
-rw-r--r-- | mayor-orig/mayor-naplo/www/include/modules/naplo/share/zaroJegyModifier.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mayor-orig/mayor-naplo/www/include/modules/naplo/share/zaroJegyModifier.php b/mayor-orig/mayor-naplo/www/include/modules/naplo/share/zaroJegyModifier.php index e421af7f..d8c2fed7 100644 --- a/mayor-orig/mayor-naplo/www/include/modules/naplo/share/zaroJegyModifier.php +++ b/mayor-orig/mayor-naplo/www/include/modules/naplo/share/zaroJegyModifier.php @@ -97,7 +97,7 @@ } else { $q = "UPDATE zaroJegy SET modositasDt=NOW(),hivatalosDt='%s',diakId=%u,targyId=%u,evfolyam=%u,evfolyamJel='%s',felev=%u, jegy='%s',jegyTipus='%s',megjegyzes='%s' - WHERE zaroJegyId=%u AND (jegy!='%s' OR jegyTipus!='%s' OR megjegyzes!='%s')"; + WHERE zaroJegyId=%u AND (jegy!='%s' OR jegyTipus!='%s' OR megjegyzes!='%s' OR megjegyzes IS NULL)"; } $v[] = $J['zaroJegyId']; $v[] = $J['jegy']; @@ -115,7 +115,7 @@ VALUES (NOW(),'%s',%u,%u,%u,'%s',%u,'%s','%s','%s')"; } } - $results[] = db_query($q, array('modul' => 'naplo_intezmeny','values' => $v, 'fv' => 'zaroJegyBeiras', 'result' => 'insert'), $lr); + $results[] = db_query($q, array('debug'=>true,'modul' => 'naplo_intezmeny','values' => $v, 'fv' => 'zaroJegyBeiras', 'result' => 'insert'), $lr); } } |