Issue #1885788 by alimac, tim.plunkett | jenlampton: Fixed An AJAX HTTP error occurred during module installation via UI.

8.0.x
Alex Pott 2014-11-17 12:42:30 +00:00
parent 91c38c8f98
commit 9792a0de23
1 changed files with 2 additions and 2 deletions

View File

@ -158,10 +158,10 @@ function theme_authorize_message($variables) {
$message = $variables['message'];
$success = $variables['success'];
if ($success) {
$item = array('data' => $message, 'class' => array('authorize-results__success'));
$item = array('data' => array('#markup' => $message), 'class' => array('authorize-results__success'));
}
else {
$item = array('data' => $message, 'class' => array('authorize-results__failure'));
$item = array('data' => array('#markup' => $message), 'class' => array('authorize-results__failure'));
}
return $item;
}