Browse Source

Typos

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2222 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 years ago
parent
commit
773f6d84a5
1 changed files with 6 additions and 6 deletions
  1. 6 6
      setup/runtimeenv.class.inc.php

+ 6 - 6
setup/runtimeenv.class.inc.php

@@ -165,7 +165,7 @@ class RunTimeEnvironment
 		}
 		catch (MySQLException $e)
 		{
-			// No database or eroneous information
+			// No database or erroneous information
 			$aSelectInstall = array();
 		}
 	
@@ -184,12 +184,12 @@ class RunTimeEnvironment
 				$sModuleName = ROOT_MODULE;
 			}
 	
-				if (array_key_exists($sModuleName, $aInstallByModule))
+			if (array_key_exists($sModuleName, $aInstallByModule))
+			{
+				if ($iInstalled < $aInstallByModule[$sModuleName]['installed'])
 				{
-					if ($iInstalled < $aInstallByModule[$sModuleName]['installed'])
-					{
-						continue;
-					}
+					continue;
+				}
 			}
 	
 			if ($aInstall['parent_id'] == 0)