ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: emanuele on June 16, 2014, 02:35:34 pm

Title: Possible inconsistency
Post by: emanuele on June 16, 2014, 02:35:34 pm
Code: (GenericMenu.template.php) [Select]
	// 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.
Title: Re: Possible inconsistency
Post by: Spuds on June 16, 2014, 08:29:26 pm
Does not seem like a block for the rc, but we should clean that up for 1.0 I'd think.
Title: Re: Possible inconsistency
Post by: emanuele on June 19, 2014, 05:19:33 pm
https://github.com/emanuele45/Dialogo/commit/f80fd9853718e02c5396f5230175e27359054b3d