Created
June 28, 2011 18:56
-
-
Save Tyrael/1051901 to your computer and use it in GitHub Desktop.
bugs temp patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: www/bug.php | |
=================================================================== | |
--- www/bug.php (revision 312577) | |
+++ www/bug.php (working copy) | |
@@ -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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment