Project:Contact directory
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:wzoom
Status:reviewed & tested by the community

Issue Summary

Contacts have different categories, than assigned.

How to fix this bug:
Edit contact_dir.module on line 385 (function _contact_dir_get_select_category) and change it
from
return array_merge($categories, _contact_dir_get_categories());
to
return $categories + _contact_dir_get_categories();

Reason: array_merge reindexes the result (PHP bug?)

Stastie

AttachmentSize
contact_dir.module.diff136 bytes