Update of /cvsroot/webnotes/webnotes/core
In directory usw-pr-cvs1:/tmp/cvs-serv8378
Modified Files:
note_api.php
Log Message:
Fixed a problem where <br /> and <pre> were both used.
Index: note_api.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/core/note_api.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- note_api.php 11 Sep 2002 10:00:38 -0000 1.13
+++ note_api.php 12 Sep 2002 21:26:28 -0000 1.14
@@ -108,7 +108,7 @@
$info['id'] = db_unprepare_string( $v_id );
$info['email'] = db_unprepare_string( $v_email );
- $info['note'] = nl2br( string_preserve_spaces ( db_unprepare_string( $v_note ) ) );
+ $info['note'] = string_preserve_spaces ( db_unprepare_string( $v_note ) );
#Removed by Remon tell we fix the problem in the sql_to_unix_time
#$info['date'] = date( 'M, d Y H:i', sql_to_unix_time( $v_date_submitted ) );
|