Re: [SMARTY-DEV] bug in modifier.string_format.php
| From: | Monte Ohrt | Date: | Mon, 24 Feb 2003 15:28:34 +0000 |
| Subject: | Re: [SMARTY-DEV] bug in modifier.string_format.php | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-836@lists.php.net to get a copy of this message | ||
fix committed... not many people use it I guess?
Monte
On Sat, 2003-02-22 at 15:42, Paul Lockaby wrote:
> 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
--
Monte Ohrt <monte@ispi.net>