bug in modifier.string_format.php
| From: | Paul Lockaby | Date: | Sat, 22 Feb 2003 21:42:42 +0000 |
| Subject: | bug in modifier.string_format.php | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-829@lists.php.net to get a copy of this message | ||
The arguments to sprintf are reversed. It reads:
function smarty_modifier_string_format($string, $format)
{
return sprintf($format, $string);} But should read: function smarty_modifier_string_format($string, $format) {
return sprintf($string, $format);} ~Paul