cvs: php-master-web /manage user-notes.php
| From: | Wez Furlong | Date: | Tue, 12 Oct 2004 15:06:02 +0000 |
| Subject: | cvs: php-master-web /manage user-notes.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-26383@lists.php.net to get a copy of this message | ||
wez Tue Oct 12 11:06:02 2004 EDT
Modified files:
/php-master-web/manage user-notes.php
Log:
fix syntax error
# php -l is your friend
http://cvs.php.net/diff.php/php-master-web/manage/user-notes.php?r1=1.52&r2=1.53&ty=u
Index: php-master-web/manage/user-notes.php
diff -u php-master-web/manage/user-notes.php:1.52 php-master-web/manage/user-notes.php:1.53
--- php-master-web/manage/user-notes.php:1.52 Mon Oct 11 11:24:13 2004
+++ php-master-web/manage/user-notes.php Tue Oct 12 11:06:00 2004
@@ -1,5 +1,5 @@
<?php
-// $Id: user-notes.php,v 1.52 2004/10/11 15:24:13 goba Exp $
+// $Id: user-notes.php,v 1.53 2004/10/12 15:06:00 wez Exp $
// Force login before action can be taken
include_once 'login.inc';
@@ -239,7 +239,7 @@
$id,
"note {$row['id']} $action_taken from {$row['sect']} by
$user",
"Note Submitter: " . safe_email($row['user']) .
"\n\n----\n\n{$row['note']}"
- . (isset($reason) ? "\n\n----\n\nReason: $reason")
+ . (isset($reason) ? "\n\n----\n\nReason: $reason" : "")
);
if ($action == 'reject') {
note_mail_user($row['user'], "note $row[id] rejected and deleted from
$row[sect] by notes editor $user",$reject_text."\n\n----- Copy of your note below
-----\n\n".$row['note']);