Not signed in (Sign In)
 
Nov 14th 2007
 
Issue is caused by the array pointer being left at the end of the array after the function iterates through the array.

Fix is to reset the array at the end of the function: function RemoveTab($TabUrl) {
while (list($Key, $Tab) = each($this->Tabs)) {
if ($Tab['Url'] == $TabUrl) unset ($this->Tabs[$Key]);
}
reset($this->Tabs);
}

Issue information

  • 34
  • WallPhone

    WallPhone

    Bug Tracker

  • Resolved
  • Low
  • Bug

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.