fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [9133] more on registration


From: Sigurd Nes
Subject: [Fmsystem-commits] [9133] more on registration
Date: Thu, 12 Apr 2012 16:04:35 +0000

Revision: 9133
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9133
Author:   sigurdne
Date:     2012-04-12 16:04:34 +0000 (Thu, 12 Apr 2012)
Log Message:
-----------
more on registration

Modified Paths:
--------------
    trunk/registration/inc/class.bomanagefields.inc.php

Modified: trunk/registration/inc/class.bomanagefields.inc.php
===================================================================
--- trunk/registration/inc/class.bomanagefields.inc.php 2012-04-12 13:23:47 UTC 
(rev 9132)
+++ trunk/registration/inc/class.bomanagefields.inc.php 2012-04-12 16:04:34 UTC 
(rev 9133)
@@ -79,10 +79,14 @@
 
                                                unset($current_field);
 
-                                               if($suffix && 
$field_info['field_type'] == 'location')
+                                               if($suffix && 
$field_info['field_type'] == 'location' && !is_array 
($current_fields[$field_info['field_name']]))
                                                {
                                                        
$field_info['field_name'] = rtrim($transform_name,'1') . $suffix;
                                                }
+                                               else if($suffix && 
$field_info['field_type'] == 'location' && is_array 
($current_fields[$field_info['field_name']]))
+                                               {
+                                                       //nothing
+                                               }
                                                else
                                                {
                                                        
$field_info['field_name'] = $transform_name;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]