From 70e2540632f59bcee1b26d11cbb14dcdca4f8bfd Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 3 Feb 2009 09:52:25 +0000
Subject: [PATCH] Close prefs file after reading.

---
 web/lib/profile_config.ssjs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/lib/profile_config.ssjs b/web/lib/profile_config.ssjs
index 7f611fa3fd..e771dbff2b 100644
--- a/web/lib/profile_config.ssjs
+++ b/web/lib/profile_config.ssjs
@@ -86,4 +86,7 @@ function HTML_Profile(user_num)
 			this[html_profile_fields[i].property]=o.value;
 		this.values.push(o);
 	}
+
+	if(prefsfile.is_open)
+		prefsfile.close();
 }
-- 
GitLab