Update of /cvsroot/tep/admin/admin/includes/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv1282/admin/includes/classes
Modified Files:
email.php
Log Message:
move the nl2br() calls to the email class
Index: email.php
===================================================================
RCS file: /cvsroot/tep/admin/admin/includes/classes/email.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- email.php 6 Aug 2002 14:37:48 -0000 1.5
+++ email.php 28 May 2003 18:01:15 -0000 1.6
@@ -173,7 +173,7 @@
function add_html($html, $text = NULL, $images_dir = NULL){
- $this->html = $html;
+ $this->html = nl2br($html);
$this->html_text = $text;
if(isset($images_dir))
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
|