You are here

function _spaces_design_color_is_empty in Spaces 6.2

Helper function that tests whether a given color is empty.

File

spaces_design/spaces_design.module, line 149

Code

function _spaces_design_color_is_empty($color) {
  $color = trim($color);
  if ($color == '' || $color == '#') {
    return TRUE;
  }
  return FALSE;
}