- Timestamp:
- Dec 13, 2006 12:44:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/2.0.2/lib/Email.inc.php
r126 r217 190 190 // Apply regex pattern to search elements. 191 191 $search = array_keys($replacements); 192 array_walk($search, create_function('&$v', '$v = " /{" . preg_quote($v) . "}/i";'));192 array_walk($search, create_function('&$v', '$v = "{" . strtoupper($v) . "}";')); 193 193 194 194 // Replacement values. … … 196 196 197 197 // Search and replace all values at once. 198 $this->_template_replaced = preg_replace($search, $replace, $this->_template);198 $this->_template_replaced = str_replace($search, $replace, $this->_template); 199 199 } 200 200
Note: See TracChangeset
for help on using the changeset viewer.