cvs: php-master-web /manage user-notes.php

From: Date: Sat, 11 Oct 2003 08:49:59 +0000
Subject: cvs: php-master-web /manage user-notes.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-21468@lists.php.net to get a copy of this message
didou Sat Oct 11 04:49:59 2003 EDT Modified files: /php-master-web/manage user-notes.php Log: don't output anything if we gonna use header.. Index: php-master-web/manage/user-notes.php diff -u php-master-web/manage/user-notes.php:1.31 php-master-web/manage/user-notes.php:1.32 --- php-master-web/manage/user-notes.php:1.31 Fri Oct 10 07:24:43 2003 +++ php-master-web/manage/user-notes.php Sat Oct 11 04:49:59 2003 @@ -228,7 +228,9 @@ case 'preview': case 'edit': if ($id) { - head(); + if (!isset($note) || $action == 'preview') { + head(); + } if ($result = @mysql_query("SELECT *,UNIX_TIMESTAMP(ts) AS ts FROM note WHERE id=$id")) { if (!mysql_num_rows ($result)) {

« previous php.mirrors (#21468) next »