Commit c42f1e66 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Check for PIEFORM_GOT_HEADDATA before defining (bug #906619)"

parents eea2e6be 782b9e16
......@@ -85,7 +85,9 @@ function smarty($javascript = array(), $headers = array(), $pagestrings = array(
if (function_exists('pieform_get_headdata')) {
$headers = array_merge($headers, pieform_get_headdata());
define('PIEFORM_GOT_HEADDATA', 1);
if (!defined('PIEFORM_GOT_HEADDATA')) {
define('PIEFORM_GOT_HEADDATA', 1);
}
}
// Insert the appropriate javascript tags
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment