From bf8112a560e352c6bbb165714da87b1f0c6f3f1c Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 3 Feb 2009 09:38:49 +0000
Subject: [PATCH] Add values array.

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

diff --git a/web/lib/profile_config.ssjs b/web/lib/profile_config.ssjs
index 8fa33abf2e..7f611fa3fd 100644
--- a/web/lib/profile_config.ssjs
+++ b/web/lib/profile_config.ssjs
@@ -68,6 +68,7 @@ function HTML_Profile(user_num)
 	prefsfile=new File(prefs_dir + format("%04d.html_prefs",u.number));
 	prefsfile.open("r");
 
+	this.values=[];
 	for(i=0; i<html_profile_fields.length; i++) {
 		o={};
 		o.iniKey=html_profile_fields[i].iniKey;
@@ -83,5 +84,6 @@ function HTML_Profile(user_num)
 			o.value=prefsfile.iniGetValue('Profile', 'ICQ', o.defaultValue);
 		if(html_profile_fields[i].property != undefined)
 			this[html_profile_fields[i].property]=o.value;
+		this.values.push(o);
 	}
 }
-- 
GitLab