cvs: php-bugs-web / bug.php

From: Date: Fri, 04 Jan 2002 08:57:50 +0000
Subject: cvs: php-bugs-web / bug.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8076@lists.php.net to get a copy of this message
imajes Fri Jan 4 03:57:50 2002 EDT Modified files: /php-bugs-web bug.php Log: wordwraping bug emails. Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.15 php-bugs-web/bug.php:1.16 --- php-bugs-web/bug.php:1.15 Fri Jan 4 01:12:34 2002 +++ php-bugs-web/bug.php Fri Jan 4 03:57:50 2002 @@ -121,6 +121,10 @@ list($mailto,$mailfrom) = get_bugtype_mail($bug_type); + /* format mail so it looks nice */ + $user_text = wordwrap($user_text, 72); /* use 72 to make piners happy */ + $dev_text = wordwrap($dev_text, 72); + /* send mail if status was changed or there is a comment */ if ($status != $original[status] || $ncomment != "") { @mail($original[email], "Bug #$id Updated: ".stripslashes($sdesc), $user_text, "From: Bug Database <$mailfrom>\nX-PHP-Bug: $id\nIn-Reply-To: <bug-$id@bugs.php.net>");

« previous php.mirrors (#8076) next »