Skip to content
Snippets Groups Projects
Commit 3c7ab739 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

CRM-12965, fixed defaults

parent 2df183e7
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,11 @@ class CRM_Badge_Form_Layout extends CRM_Admin_Form {
$defaults = array_merge($this->_values,
CRM_Badge_BAO_Layout::getDecodedData($this->_values['data']));
}
else {
for ($i = 1; $i <= 4; $i++) {
$defaults['text_alignment'][$i] = "C";
}
}
if ($this->_action == CRM_Core_Action::DELETE && isset($defaults['title'])) {
$this->assign('delName', $defaults['title']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment