# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/controller/controller.default.php +++ administrator/components/com_comprofiler/controller/controller.default.php @@ -514,7 +514,7 @@ $fields = array(); for ( $i = 0, $n = count( $field ) ; $i < $n ; $i++ ) { $fieldvalue =& $field[$i]; - $fields[$fieldvalue->title] = $fieldvalue->fieldid; \ No newline at end of file + $fields[$fieldvalue->fieldid] = $fieldvalue->title; \ No newline at end of file } //print_r(array_values($fields));