diff --git a/resources/classes/modal.php b/resources/classes/modal.php
index e01cdd1104..db4d58fce8 100644
--- a/resources/classes/modal.php
+++ b/resources/classes/modal.php
@@ -57,9 +57,9 @@ if (!class_exists('modal')) {
//prefix cancel button to action
$array['actions'] = button::create(['type'=>'button','label'=>$text['button-cancel'],'icon'=>$_SESSION['theme']['button_icon_cancel'],'collapse'=>'never','onclick'=>'modal_close(); '.$array['onclose']]).$array['actions'];
}
- $modal .= $array['title'] ? "".$array['title']."\n" : null;
- $modal .= $array['message'] ? "".$array['message']."\n" : null;
- $modal .= $array['actions'] ? "".$array['actions']."\n" : null;
+ $modal .= $array['title'] ? " ".$array['title']."\n" : null;
+ $modal .= $array['message'] ? " ".$array['message']."\n" : null;
+ $modal .= $array['actions'] ? " ".$array['actions']."\n" : null;
$modal .= " \n";
$modal .= "";
@@ -71,4 +71,4 @@ if (!class_exists('modal')) {
}
}
-?>
\ No newline at end of file
+?>