Skip to content

Instantly share code, notes, and snippets.

@Tyrael
Created June 28, 2011 18:56
Show Gist options
  • Save Tyrael/1051901 to your computer and use it in GitHub Desktop.
Save Tyrael/1051901 to your computer and use it in GitHub Desktop.
bugs temp patch
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