joomla/joomla-platform — pull request #1176 by ianmacl (2012-04-30 17:54:44+00:00)
Title: Fixing defined syntax error - missing quotes

defined expects the constant name to be a string and not the evaluated value of the constant.