Issue #1885788 by alimac, tim.plunkett | jenlampton: Fixed An AJAX HTTP error occurred during module installation via UI.
parent
91c38c8f98
commit
9792a0de23
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue