[open-ils-commits] r12627 - trunk/Open-ILS/web/js/ui/default/actor/user (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 20 11:20:41 EDT 2009
Author: erickson
Date: 2009-03-20 11:20:39 -0400 (Fri, 20 Mar 2009)
New Revision: 12627
Modified:
trunk/Open-ILS/web/js/ui/default/actor/user/register.js
Log:
protect against empty settings
Modified: trunk/Open-ILS/web/js/ui/default/actor/user/register.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/actor/user/register.js 2009-03-20 14:36:01 UTC (rev 12626)
+++ trunk/Open-ILS/web/js/ui/default/actor/user/register.js 2009-03-20 15:20:39 UTC (rev 12627)
@@ -62,7 +62,8 @@
'patron.password.use_phone',
]);
for(k in orgSettings)
- orgSettings[k] = orgSettings[k].value;
+ if(orgSettings[k])
+ orgSettings[k] = orgSettings[k].value;
var list = pcrud.search('fdoc', {fm_class:fmClasses});
for(var i in list) {
More information about the open-ils-commits
mailing list