diff --git a/fp-includes/core/core.draft.php b/fp-includes/core/core.draft.php index e001340..a7e15c4 100644 --- a/fp-includes/core/core.draft.php +++ b/fp-includes/core/core.draft.php @@ -183,7 +183,8 @@ function smarty_block_draft($params, $content, &$smarty, &$repeat) { if ($arr) { $firstElement = utils_array_kshift($arr); $id = array_keys($firstElement); - $subject = $firstElement [$id [0]]; + $id = $id [0]; + $subject = $firstElement [$id]; } if ($id) {