cvs: bugtracker /includes bug.php /template/generic/admin state.php
| From: | Barry Carlyon | Date: | Thu, 14 Aug 2008 00:46:49 +0000 |
| Subject: | cvs: bugtracker /includes bug.php /template/generic/admin state.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2411@lists.php.net to get a copy of this message | ||
bcarlyon Thu Aug 14 00:46:49 2008 UTC
Modified files:
/bugtracker/includes bug.php
/bugtracker/template/generic/admin state.php
Log:
Language error
http://cvs.php.net/viewvc.cgi/bugtracker/includes/bug.php?r1=1.18&r2=1.19&diff_format=u
Index: bugtracker/includes/bug.php
diff -u bugtracker/includes/bug.php:1.18 bugtracker/includes/bug.php:1.19
--- bugtracker/includes/bug.php:1.18 Thu Aug 14 00:43:32 2008
+++ bugtracker/includes/bug.php Thu Aug 14 00:46:49 2008
@@ -38,7 +38,7 @@
* @author Barry Carlyon <bcarlyon@php.net>
* @copyright 2008-2008 Barry Carlyon
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
-* @version CVS: $Id: bug.php,v 1.18 2008/08/14 00:43:32 bcarlyon Exp $
+* @version CVS: $Id: bug.php,v 1.19 2008/08/14 00:46:49 bcarlyon Exp $
* @link http://gsoc.barrycarlyon.servegame.org/
*/
@@ -161,7 +161,7 @@
if ($cache->obtain('status',$newstate))
{
if ($newstate == CLOSED) {
- $query = 'UPDATE ' . BUG_TABLE . ' SET status = ' . CLOSED . ',
closed_by = \'' . $user->handle . '\', closed_at = NOW() WHERE bug_id =
' . $this->bug_id;
+ $query = 'UPDATE ' . BUG_TABLE . ' SET status = ' . CLOSED . ',
closed_by = \'' . $user->handle . '\', closed_on = NOW() WHERE bug_id =
' . $this->bug_id;
} else {
$query = 'UPDATE ' . BUG_TABLE . ' SET status = ' . $newstate . '
WHERE bug_id = ' . $this->bug_id;
}
http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/admin/state.php?r1=1.1&r2=1.2&diff_format=u
Index: bugtracker/template/generic/admin/state.php
diff -u bugtracker/template/generic/admin/state.php:1.1
bugtracker/template/generic/admin/state.php:1.2
--- bugtracker/template/generic/admin/state.php:1.1 Thu Aug 14 00:43:32 2008
+++ bugtracker/template/generic/admin/state.php Thu Aug 14 00:46:49 2008
@@ -37,7 +37,7 @@
* @author Barry Carlyon <bcarlyon@php.net>
* @copyright 2008-2008 Barry Carlyon
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
-* @version CVS: $Id: state.php,v 1.1 2008/08/14 00:43:32 bcarlyon Exp $
+* @version CVS: $Id: state.php,v 1.2 2008/08/14 00:46:49 bcarlyon Exp $
* @link http://gsoc.barrycarlyon.servegame.org/
*/
@@ -68,7 +68,7 @@
$template->content_title = 'Changing the state of a bug';
if ($bug->state($newstate)) {
- $template->prehtml = '<div id="success">Succssfully assigned the
bug</div>';
+ $template->prehtml = '<div id="success">Succssfully change the bug
state</div>';
$template->meta_refresh();
} else {
trigger_error('Unable to change the bug state as requested', E_USER_ERROR);