Project

General

Profile

Bug #3108 » 3108-pt1.patch

krileon, 02 February 2012 17:06

View differences:

administrator/components/com_comprofiler/controller/controller.default.php
$fields = array();
for ( $i = 0, $n = count( $field ) ; $i < $n ; $i++ ) {
$fieldvalue =& $field[$i];
$fields[$fieldvalue->title] = $fieldvalue->fieldid;
$fields[$fieldvalue->fieldid] = $fieldvalue->title;
}
//print_r(array_values($fields));
(1-1/2)