Closed (fixed)
Project:
Open Atrium
Version:
7.x-2.x-dev
Component:
Appearance App
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2015 at 18:01 UTC
Updated:
9 Feb 2015 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dsnopekPatch is attached!
Comment #2
mpotter commentedFrom looking at the code, drupal_attributes does an (array) typecast so appears to accept both an array as well as a single string value.
However, for sake of better code, I have applied the patch. But you missed a similar case later in that same function where it was setting 'class' to a string value based on a conditional, so I updated that also.
Committed to 5e46b7f of oa_appearance.
Comment #3
dsnopekAh, good catch! Thanks!