Formatting

This commit is contained in:
Miles Lott 2005-09-29 11:31:02 +00:00
parent c5f0daa001
commit eefec39e13

View File

@ -460,12 +460,15 @@
/* Use usort to sort the complete result, since ldap_search can not do that */
@set_time_limit(0); /* Try not to die, this can take some time on slow machines... */
if (empty($order)) {
if(empty($order))
{
$order_array = 'array("'
. $this->stock_contact_fields['n_family'] . '", "'
. $this->stock_contact_fields['n_given'] . '", "'
. $this->stock_contact_fields['email'] . '")';
} else {
}
else
{
$order_array = "array('"
. $this->stock_contact_fields[$order] . "','"
. $this->stock_contact_fields['n_family'] . "', '"