mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fix argument order, erroneously swapped a while back
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
function smarty_modifier_string_format($string, $format)
|
function smarty_modifier_string_format($string, $format)
|
||||||
{
|
{
|
||||||
return sprintf($string, $format);
|
return sprintf($format, $string);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim: set expandtab: */
|
/* vim: set expandtab: */
|
||||||
|
Reference in New Issue
Block a user