joomla/joomla-cms — pull request #2463 by obsidev (2013-11-09 21:29:04+00:00)
Title: HTML Calendar: Accept a string for the $attrib parameter

The last parameter for calendar can be a string but it creates a illegal action because it is always managed as an array even if we test if later to convert it as a string.
The patch fix this problem.