diff --git a/pages/spell.php b/pages/spell.php index 1fd66106..e8c6e87a 100644 --- a/pages/spell.php +++ b/pages/spell.php @@ -2279,7 +2279,8 @@ class SpellPage extends GenericPage 'icon' => $_icon, 'perfectItem' => $_perfItem, 'name' => $_header, - 'footer' => $_footer + 'footer' => $_footer, + 'markup' => $_markup ); } diff --git a/template/pages/spell.tpl.php b/template/pages/spell.tpl.php index 8a89ff84..918635b4 100644 --- a/template/pages/spell.tpl.php +++ b/template/pages/spell.tpl.php @@ -176,7 +176,7 @@ foreach ($this->effects as $i => $e): echo "
".implode("
", $e['footer'])."
\n"; endif; - if (isset($e['markup'])): + if ($e['markup']): echo '
';