diff --git a/includes/common.inc b/includes/common.inc index 9c4ce49f84c..0684f7ab318 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -6034,7 +6034,7 @@ function drupal_parse_info_format($data) { // Handle PHP constants. if (isset($constants[$value])) { - $value = constant($value); + $value = $constants[$value]; } // Insert actual value