// Print out all the items in this tab (if any).
if (!empty($context['tabs']))
{
// The admin tabs.
echo '
<ul id="adm_submenus">';
foreach ($tab_context['tabs'] as $sa => $tab)
checks for $context, uses $tab_context.
I got an error by that one while writing a mod, at the moment I can't dive into the code so I have no idea of the real consequences.
Not a blocker to me.