summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7614ce4)
raw | patch | inline | side by side (parent: 7614ce4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jun 2008 12:43:58 +0000 (12:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jun 2008 12:43:58 +0000 (12:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11302 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_tabs.inc | patch | blob | history |
index 3245241a2ae241e11a07ff86d3e5ebb186b64dec..c7666fddff52ffb86e498d1299977eb3bb6f2fb1 100644 (file)
function execute()
{
+ /* Ensure that the currently selected tab is valid. */
+ if(!isset($this->by_name[$this->current])) $this->current = key($this->by_name);
+
/* Rotate current to last */
$this->last= $this->current;