aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/include
diff options
context:
space:
mode:
authorM.Gergo2020-01-18 15:15:50 +0100
committerM.Gergo2020-01-18 15:15:50 +0100
commit646b9fb3b8ae317d48772b3c81635a188e2e3cc6 (patch)
treecb33584007686cf9f2f4d935b3e3cce04a296eaf /mayor-orig/mayor-naplo/www/include
parent55f7cc55311ad372b12a75d3e2a95305b097cd34 (diff)
downloadmayor-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.php4
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);
}
}