The t() function is missing here:

<?php
function password_change_validate_password($element, $form_state) {
  if (md5($element['#value']) !== $GLOBALS['user']->pass) {
    form_error($element, 'Incorrect current password.');
  }
}
?>

Comments

dave reid’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.