svn: /web/php-bugs/trunk/www/ bug.php
| From: | Ferenc Kovacs | Date: | Tue, 28 Jun 2011 19:04:30 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ bug.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11330@lists.php.net to get a copy of this message | ||
tyrael Tue, 28 Jun 2011 19:04:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312582
Log:
temporary disable editing bugs having id < 60000,
this will save us from losing changes when we merge the latest bugsdb backup
Changed paths:
U web/php-bugs/trunk/www/bug.php
Modified: web/php-bugs/trunk/www/bug.php
===================================================================
--- web/php-bugs/trunk/www/bug.php 2011-06-28 18:58:07 UTC (rev 312581)
+++ web/php-bugs/trunk/www/bug.php 2011-06-28 19:04:30 UTC (rev 312582)
@@ -37,6 +37,14 @@
// Set edit mode
$edit = isset($_REQUEST['edit']) ? (int) $_REQUEST['edit'] : 0;
+if ($edit && $bug_id < 60000 ) {
+ $errors[] = 'Editing old bugs is temporary unavailable!';
+ response_header('Editing old bugs is temporary unavailable!');
+ display_bug_error($errors);
+ response_footer();
+ exit;
+}
+
// Authenticate
bugs_authenticate($user, $pw, $logged_in, $user_flags);