Skip to content

Commit

Permalink
Invalid variable name caused missing block messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikl committed Apr 1, 2011
1 parent 3d6ab0c commit 5640859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alma_user/plugins/user/alma.inc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function alma_user_user_authenticate($name, $pass) {

if (isset($info['blocks']) && !empty($info['blocks'])) {
$block_codes = alma_user_block_codes();
foreach ($user_info['blocks'] as $block) {
foreach ($info['blocks'] as $block) {
$return['messages'][] = array(t('Your account is blocked: %message.', array('%message' => $block_codes[$block['code']])), 'warning');
}
}
Expand Down

0 comments on commit 5640859

Please sign in to comment.