fixed arg order of string_format

This commit is contained in:
mohrt
2003-02-24 15:28:15 +00:00
parent f5f21995ef
commit ea0e560e90
2 changed files with 3 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
*/
function smarty_modifier_string_format($string, $format)
{
return sprintf($format, $string);
return sprintf($string, $format);
}
/* vim: set expandtab: */