HTML_Template_IT

From: Date: Fri, 24 Jan 2003 16:11:41 +0000
Subject: HTML_Template_IT
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12716@lists.php.net to get a copy of this message
There is a minor problem with the setVariable method. If the value to replace the placeholder contains a \'$\' followed by a number, the preg_replace function treats that as a backreference and the full output is incorrect. For example: setVariable( \'{VALUE}\', \'The quote is for $5,000 US\' ); Will result in: The quote is for ,000 US We have developed a fix for this, but would like the fix to be in PEAR so we can count on it for all of our deployments. Thanks, Blake Schwendima Go Daddy Software http://www.godaddy.com

« previous php.pear.dev (#12716) next »