--- scanner.module 2009-03-05 20:34:32.000000000 +0100 +++ scanner.module_fixed 2010-11-19 00:48:34.000000000 +0100 @@ -410,7 +410,7 @@ function scanner_form_submit($form, &$fo the normal form_id_validate and form_id_submit handlers. Any additional buttons which need to invoke different validate or submit functionality should have button-specific functions. */ - if ($form_state['values']['op'] == 'Replace') { + if ($form_state['values']['op'] == t('Replace')) { $_SESSION['scanner_status'] = SCANNER_STATUS_GO_CONFIRM; } else {