From 0c3e604de008dc7af11476c3a115a241d223686f Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sun, 30 Oct 2011 18:58:30 +0100
Subject: [PATCH] Fix: Missing closing db

---
 htdocs/core/js/datepicker.js.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/htdocs/core/js/datepicker.js.php b/htdocs/core/js/datepicker.js.php
index 044fddcd0ba..f59cdfb6c3a 100644
--- a/htdocs/core/js/datepicker.js.php
+++ b/htdocs/core/js/datepicker.js.php
@@ -104,3 +104,8 @@ jQuery(function($){
 		yearSuffix: ''};
 	$.datepicker.setDefaults($.datepicker.regional['<?php echo $langs->defaultlang ?>']);
 });
+
+
+<?php
+if (is_object($db)) $db->close();
+?>
\ No newline at end of file
-- 
GitLab