Skip to content
This repository has been archived by the owner on Apr 28, 2018. It is now read-only.

Commit

Permalink
Fix array_merge when merging a group with just numbers [tracker #1823]
Browse files Browse the repository at this point in the history
  • Loading branch information
pcbaldwin committed Jun 25, 2014
1 parent 3132336 commit 2f28574
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libraries/Group_Manager_Driver.php
Expand Up @@ -232,7 +232,12 @@ protected function _get_details($filter)
if (($filter === Group_Engine::FILTER_SYSTEM) || ($filter === Group_Engine::FILTER_ALL))
$posix_data = $this->_get_details_from_posix();

$data = array_merge($directory_data, $posix_data);
// See tracker #1823
// $data = array_merge($directory_data, $posix_data);

$data = $directory_data;
foreach ($posix_data as $item)
$data[] = $item;

return $data;
}
Expand Down

0 comments on commit 2f28574

Please sign in to comment.