aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/modules/naplo/intezmeny
diff options
context:
space:
mode:
authorM.Gergo2018-09-07 22:27:52 +0200
committerM.Gergo2018-09-07 22:27:52 +0200
commit8f8fc390374681cd537e4216f0366d6fe8a6c73c (patch)
tree6d19efd3593a0383a48cdac7f78cd0e2ef6fa761 /mayor-orig/www/include/modules/naplo/intezmeny
parent63edef615f7828cb0f57bf9ba128a90eb4fe07e0 (diff)
downloadmayor-8f8fc390374681cd537e4216f0366d6fe8a6c73c.tar.gz
mayor-8f8fc390374681cd537e4216f0366d6fe8a6c73c.zip
Rev: 4358
Diffstat (limited to 'mayor-orig/www/include/modules/naplo/intezmeny')
-rw-r--r--mayor-orig/www/include/modules/naplo/intezmeny/tankor.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php b/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php
index 8db17e7a..eea8b12c 100644
--- a/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php
+++ b/mayor-orig/www/include/modules/naplo/intezmeny/tankor.php
@@ -12,8 +12,9 @@
/* pre-check */
if (isset($ADAT['tankorId']) && $ADAT['tankorId']!='') {
$return = $tankorId = $ADAT['tankorId'];
- $q = "UPDATE tankor SET felveheto=%u, min=%u, max=%u, kovetelmeny='%s' WHERE tankorId=%u";
- $v = array($ADAT['felveheto'], $ADAT['min'], $ADAT['max'], $ADAT['kovetelmeny'],$tankorId);
+ $_tankorCn = $ADAT['tankorCn'];
+ $q = "UPDATE tankor SET felveheto=%u, min=%u, max=%u, kovetelmeny='%s', cn='%s' WHERE tankorId=%u";
+ $v = array($ADAT['felveheto'], $ADAT['min'], $ADAT['max'], $ADAT['kovetelmeny'],$_tankorCn,$tankorId);
db_query($q, array('fv' => 'ujTankor', 'modul' => 'naplo_intezmeny', 'values' => $v));
$tanarFelvesz = false;
} else {