phpBB

Code Changes

File: phpbb/language/language.php

  Unmodified   Added   Modified   Removed
Line 312Line 312
			// Replace key with language entry and simply pass along...
return vsprintf($lang, $args);
}

			// Replace key with language entry and simply pass along...
return vsprintf($lang, $args);
}

		else if (sizeof($lang) == 0)

		else if (count($lang) == 0)

		{
// If the language entry is an empty array, we just return the language key
return $key;

		{
// If the language entry is an empty array, we just return the language key
return $key;

Line 322Line 322
		$key_found = false;

// We now get the first number passed and will select the key based upon this number

		$key_found = false;

// We now get the first number passed and will select the key based upon this number

		for ($i = 0, $num_args = sizeof($args); $i < $num_args; $i++)

		for ($i = 0, $num_args = count($args); $i < $num_args; $i++)

		{
if (is_int($args[$i]) || is_float($args[$i]))
{

		{
if (is_int($args[$i]) || is_float($args[$i]))
{