#1047: Fix for the FindTab method.

SVN:trunk[3528]
This commit is contained in:
Denis Flaven
2015-04-03 08:02:20 +00:00
parent ff54d6dd6c
commit ebfc9aa1e0

View File

@@ -938,11 +938,11 @@ class TabManager
/**
* Finds the tab whose title matches a given pattern
* @return mixed The name of the tab as a string or false if not found
* @return mixed The actual name of the tab (as a string) or false if not found
*/
public function FindTab($sPattern, $sTabContainer = null)
{
$return = false;
$result = false;
if ($sTabContainer == null)
{
$sTabContainer = $this->m_sCurrentTabContainer;