-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.8
-
None
With the $user->lang() you can directly sprintf() into a language string.
This is useful, when you need different language-strings for different input (1 post, 3 posts, etc.)
Now the code says:
// We now get the first number passed and will select the key based upon this number
|
but this is not correct. Currently it uses the last int, as it does not exit the loop of arguments.
this can be easily fixed by adding a break; after
foreach ($numbers as $num)
|
{
|
if ($num > $args[$i])
|
{
|
break;
|
}
|
|
$key_found = $num;
|
}
|