Fatal error: Call to undefined function: handle_bbcode_deck() in <snip>/forums/includes/class_bbcode.php on line 1199
Well, here we go again. Errors where there shouldn't be errors. Where am I supposed to define this? When I had the error with a previous BBCode (Mana), I added the function right above the end of class_bbcode_alt.php, and it worked. But this one is giving me trouble.
Code:
$tag_list['no_option']['mana'] = array(
'callback' => 'handle_bbcode_manacost',
'strip_empty' => true,
'stop_parse' => true,
);
$tag_list['option']['deck'] = array(
'callback' => 'handle_bbcode_deck',
'strip_space_after' => 2,
'strip_empty' => true,
);
I don't see the massive difference between the two. Meanwhile, the mana tags aren't screwing with me... Is it the option? I have the function for deck defined as "function handle_bbcode_deck($body, $name)", is that enough for the option? Can someone help me out here?