it's impossible to install this module and hierarchical select at the same time, they use the same helperfunction.

the namingconvention used is not inline with the drupal standards.

/**
 * Smarter version of array_merge_recursive: overwrites scalar values.
 *
 * From: http://www.php.net/manual/en/function.array-merge-recursive.php#82976.
 */
function array_smart_merge($array, $override) {
  if (is_array($array) && is_array($override)) {
    foreach ($override as $k => $v) {
      if (isset($array[$k]) && is_array($v) && is_array($array[$k])) {
        $array[$k] = array_smart_merge($array[$k], $v);
      }
      else {
        $array[$k] = $v;
      }
    }
  }
  return $array;
}
CommentFileSizeAuthor
#1 ahah_helper.patch1.14 KBrikvd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rikvd’s picture

FileSize
1.14 KB

patch :)

slip’s picture

Status: Active » Reviewed & tested by the community
jvieille’s picture

Is there any reason for not committing this?

Thanks

jvieille’s picture

+1

Rok Žlender’s picture

Status: Reviewed & tested by the community » Fixed

Committed thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.