Changeset 1007

Show
Ignore:
Timestamp:
03/07/07 15:07:03 (2 years ago)
Author:
ben
Message:

Fix for legacy profile configurations not saving tags properly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/edit.php

    r997 r1007  
    135135                    foreach($data['profile:details'] as $datatype) { 
    136136                        if (is_array($datatype)) { 
    137                             $fname = !empty($datatype[0]) ? $datatype[0] : ''; 
     137                            $fname = !empty($datatype[1]) ? $datatype[1] : ''; 
    138138                            $ftype = !empty($datatype[2]) ? $datatype[2] : ''; 
    139139                        // Otherwise map things the new way! 
  • devel/profile/profile.class.php

    r910 r1007  
    285285    function field_display ($field, $allvalues) { 
    286286 
    287         global $data
     287        global $data, $messages
    288288 
    289289        $run_result = ''; 
     
    296296            $fblurb = !empty($field[3]) ? $field[3] : ''; 
    297297            $fusertype = !empty($field[4]) ? $field[4] : ''; 
     298            $finvisible = false; 
     299            $frequired = false; 
    298300        // Otherwise map things the new way! 
    299301        } else {