diff options
Diffstat (limited to 'mayor-orig/www/include/modules/naplo/intezmeny')
-rw-r--r-- | mayor-orig/www/include/modules/naplo/intezmeny/tankor.php | 5 |
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 { |