cvs: phpweb /manual add-note.php

From: Date: Thu, 28 Sep 2006 12:27:07 +0000
Subject: cvs: phpweb /manual add-note.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32836@lists.php.net to get a copy of this message
bjori Thu Sep 28 12:27:07 2006 UTC Modified files: /phpweb/manual add-note.php Log: Fixed bug#35190 http://cvs.php.net/viewvc.cgi/phpweb/manual/add-note.php?r1=1.71&r2=1.72&diff_format=u Index: phpweb/manual/add-note.php diff -u phpweb/manual/add-note.php:1.71 phpweb/manual/add-note.php:1.72 --- phpweb/manual/add-note.php:1.71 Thu Sep 7 19:25:46 2006 +++ phpweb/manual/add-note.php Thu Sep 28 12:27:06 2006 @@ -1,5 +1,5 @@ <?php -// $Id: add-note.php,v 1.71 2006/09/07 19:25:46 nlopess Exp $ +// $Id: add-note.php,v 1.72 2006/09/28 12:27:06 bjori Exp $ $ip_spam_lookup_url = 'http://www.dnsstuff.com/tools/ip4r.ch?ip='; @@ -149,7 +149,7 @@ // Print out preview of note echo '<p>This is what your entry will look like, roughly:</p>'; echo '<div id="usernotes">'; - manual_note_display(time(), stripslashes($user), stripslashes($note), FALSE); + manual_note_display(time(), ($MQ ? stripslashes($user) : $user), ($MQ ? stripslashes($note) : $note), FALSE); echo '</div><br /><br />'; } }

« previous php.mirrors (#32836) next »