Procházet zdrojové kódy

#1047: Fix for the FindTab method.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3528 a333f486-631f-4898-b8df-5754b55c2be0
dflaven před 10 roky
rodič
revize
3e6eaa823d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      application/webpage.class.inc.php

+ 2 - 2
application/webpage.class.inc.php

@@ -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;