aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/include
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-naplo/www/include')
-rw-r--r--mayor-orig/mayor-naplo/www/include/modules/naplo/tanev/targyBontas.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mayor-orig/mayor-naplo/www/include/modules/naplo/tanev/targyBontas.php b/mayor-orig/mayor-naplo/www/include/modules/naplo/tanev/targyBontas.php
index 5b31bdec..625e0482 100644
--- a/mayor-orig/mayor-naplo/www/include/modules/naplo/tanev/targyBontas.php
+++ b/mayor-orig/mayor-naplo/www/include/modules/naplo/tanev/targyBontas.php
@@ -74,7 +74,7 @@
$bontasId = db_query($q, array('fv'=>'addBontas/insert','modul'=>'naplo','result'=>'insert','values'=>array($osztalyId,$kepzesOratervId,$targyId)), $lr);
// is_resource mysqli esetán nem jó (object)
- if (!$olr) db_close();
+ if (!$olr) db_close($lr);
return array(
'targyId' => $targyId,