diff -r 9d5c04c1414f -r dcf5381ce8ba index.php --- a/index.php Sun Jan 25 21:18:05 2009 -0500 +++ b/index.php Sun Jan 25 21:20:14 2009 -0500 @@ -281,7 +281,7 @@ break; case 'rollback': $id = (isset($_GET['id'])) ? $_GET['id'] : false; - if(!$id || !preg_match('#^([0-9]+)$#', $id)) die_friendly('Invalid action ID', '

The URL parameter "id" is not an integer. Exiting to prevent nasties like SQL injection, etc.

'); + if(!$id || !ctype_digit($id)) die_friendly('Invalid action ID', '

The URL parameter "id" is not an integer. Exiting to prevent nasties like SQL injection, etc.

'); $id = intval($id);