alecpl
2012-03-05 0203f16312bc949a5cf46ce90fa43de9119e23a8
program/steps/addressbook/search.inc
@@ -147,6 +147,7 @@
    $sources    = $RCMAIL->get_address_sources();
    $search_set = array();
    $records    = array();
    $sort_col   = $RCMAIL->config->get('addressbook_sort_col', 'name');
    foreach ($sources as $s) {
        $source = $RCMAIL->get_address_book($s['id']);
@@ -185,7 +186,7 @@
        while ($row = $result->next()) {
            $row['sourceid'] = $s['id'];
            $key = $row['name'] . ':' . $row['sourceid'];
            $key = rcmail_contact_key($row, $sort_col);
            $records[$key] = $row;
        }