joomla/joomla-platform — pull request #1720 by okonomiyaki3000 (2012-11-27 06:03:44+00:00)
Title: sprintf complains unless the correct number of arguments are passed

An undefined variable was being passed to `JText::sprintf` in two places. This was fixed a little while ago, in one case it was replaced but in another it was omitted. Since `sprintf` throws a warning when the format uses numbered arguments but insufficient arguments are passed to the function... we need to pass something. Luckily, there is already a suitable string: `JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND`