typo and strict php warning fixe

This commit is contained in:
Bachir Soussi Chiadmi
2013-11-03 15:33:11 +01:00
parent ab51102cd0
commit 91c826322e
2 changed files with 3 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ function materio_user_register_submit(){
}else{
$messages = drupal_get_messages('status');
// $return['messages'] = $messages;
drupal_set_message(t("Congratulation, you juste created your free materiO' account, welcome !"), 'status');
drupal_set_message(t("Congratulations, you juste created your free materiO' account, welcome !"), 'status');
foreach ($messages['status'] as $msg) {
drupal_set_message($msg, 'status');
}