aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo
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
parent55f7cc55311ad372b12a75d3e2a95305b097cd34 (diff)
downloadmayor-31c4f9e384825558e5ccddcc8564e206b0166566.tar.gz
mayor-31c4f9e384825558e5ccddcc8564e206b0166566.zip
Rev: 4592rev4592
Diffstat (limited to 'mayor-orig/mayor-naplo')
-rw-r--r--mayor-orig/mayor-naplo/log/mayor-naplo.rev2
-rw-r--r--mayor-orig/mayor-naplo/www/include/modules/naplo/share/zaroJegyModifier.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev
index 8f22b44a..ecdf4f5b 100644
--- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev
+++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev
@@ -1 +1 @@
-4591
+4592
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);
}
}