Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Pssst.  I got a secret. 
 
Mark_Kimsal
Sr. Member
 
Total Posts:  186
Joined:  2007-09-12
Michigan, USA
 

Another way to kill one more call_user_func_array…

in Core/Model/Translate.php around line 364

363         //$result = @call_user_func_array('sprintf', $args);
  
364         $result vsprintf($text$args);

Seems to work… vsprintf() was made for variable arguments.  Can someone double check it who is dealing with translations?

Opps, forgot to mention this

361 //        array_unshift($args, $translated);
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top