You are here

function _npop_fix_css_arrays in Node pop-up 7

The array_map callback functoin, fixed duplicate class names.

1 string reference to '_npop_fix_css_arrays'
npop_admin_settings_form in ./npop.admin.inc
Main administration settings page form.

File

./npop.admin.inc, line 86
Node popup module administration pages functions.

Code

function _npop_fix_css_arrays($element) {
  if (is_array($element)) {
    return array_shift($element);
  }
  else {
    return $element;
  }
}