cvs: pearweb /public_html/pepr pepr-proposal-edit.php
| From: | Tobias Schlitt | Date: | Sat, 03 Jan 2004 22:01:30 +0000 |
| Subject: | cvs: pearweb /public_html/pepr pepr-proposal-edit.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15321@lists.php.net to get a copy of this message | ||
toby Sat Jan 3 17:01:30 2004 EDT
Modified files:
/pearweb/public_html/pepr pepr-proposal-edit.php
Log:
* Cosmetics on Email wording.
Index: pearweb/public_html/pepr/pepr-proposal-edit.php
diff -u pearweb/public_html/pepr/pepr-proposal-edit.php:1.5
pearweb/public_html/pepr/pepr-proposal-edit.php:1.6
--- pearweb/public_html/pepr/pepr-proposal-edit.php:1.5 Thu Dec 18 18:21:20 2003
+++ pearweb/public_html/pepr/pepr-proposal-edit.php Sat Jan 3 17:01:30 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
| Authors: Tobias Schlitt <toby@php.net> |
+----------------------------------------------------------------------+
- $Id: pepr-proposal-edit.php,v 1.5 2003/12/18 23:21:20 toby Exp $
+ $Id: pepr-proposal-edit.php,v 1.6 2004/01/03 22:01:30 toby Exp $
*/
require_once 'pepr/pepr.php';
@@ -186,7 +186,7 @@
if (isset($proposal) && $proposal->status != 'draft') {
if ((isset($values['action_email']) && $values['action_email']) ||
(user::isAdmin($_COOKIE['PEAR_USER']) && ($proposal->user_handle !=
$_COOKIE['PEAR_USER']))) {
if (empty($values['action_comment'])) {
- PEAR::raiseError("You have to apply a comment, when you send update emails!");
+ PEAR::raiseError("You have to apply a comment, when you send update emails! For
administrative actions, allways emails are send.");
}
$proposal->addComment($values['action_comment']);
$proposal->sendActionEmail('edit_proposal', 'mixed',
$_COOKIE['PEAR_USER'], $values['action_comment']);