Test Failed
Push — CI ( 785a66...02428e )
by Adam
54:23
created
modules/Project/metadata/popupdefs.php 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@
 block discarded – undo
40 40
 
41 41
 
42 42
 $popupMeta = array('moduleMain' => 'Project',
43
-						'varName' => 'PROJECT',
44
-						'orderBy' => 'name',
45
-						'whereClauses' => 
46
-							array('name' => 'project.name'),
47
-						'searchInputs' =>
48
-							array('name')
49
-						);
43
+                        'varName' => 'PROJECT',
44
+                        'orderBy' => 'name',
45
+                        'whereClauses' => 
46
+                            array('name' => 'project.name'),
47
+                        'searchInputs' =>
48
+                            array('name')
49
+                        );
50 50
 
51 51
 
52 52
 ?>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 3
 /*********************************************************************************
4 4
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if(!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /*********************************************************************************
4 6
  * SugarCRM Community Edition is a customer relationship management program developed by
5 7
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
modules/Project/metadata/searchdefs.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -38,28 +38,28 @@
 block discarded – undo
38 38
  ********************************************************************************/
39 39
 
40 40
 
41
-  $searchdefs['Project'] = array(
42
-					'templateMeta' => array(
43
-							'maxColumns' => '3', 
44
-  							'maxColumnsBasic' => '4', 
41
+    $searchdefs['Project'] = array(
42
+                    'templateMeta' => array(
43
+                            'maxColumns' => '3', 
44
+                                'maxColumnsBasic' => '4', 
45 45
                             'widths' => array('label' => '10', 'field' => '30'),                 
46
-                           ),
46
+                            ),
47 47
                     'layout' => array(  					
48
-						'basic_search' => array(
49
-						 	'name',
50
-						 	array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
48
+                        'basic_search' => array(
49
+                                'name',
50
+                                array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
51 51
                             array ('name' => 'favorites_only','label' => 'LBL_FAVORITES_FILTER','type' => 'bool',),
52 52
 
53 53
 
54 54
                         ),
55
-						'advanced_search' => array(
56
-							'name', 
57
-							'estimated_start_date',
58
-							'estimated_end_date',
59
-							'status',
60
-							'priority',		
55
+                        'advanced_search' => array(
56
+                            'name', 
57
+                            'estimated_start_date',
58
+                            'estimated_end_date',
59
+                            'status',
60
+                            'priority',		
61 61
 							
62
-						),
63
-					),
64
- 			   );
62
+                        ),
63
+                    ),
64
+                );
65 65
 ?>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 						'basic_search' => array(
49 49
 						 	'name',
50 50
 						 	array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
51
-                            array ('name' => 'favorites_only','label' => 'LBL_FAVORITES_FILTER','type' => 'bool',),
51
+                            array('name' => 'favorites_only', 'label' => 'LBL_FAVORITES_FILTER', 'type' => 'bool',),
52 52
 
53 53
 
54 54
                         ),
Please login to merge, or discard this patch.
modules/Project/metadata/SearchFields.php 3 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -51,20 +51,20 @@
 block discarded – undo
51 51
 			                        and favorites.parent_type = "'.$module_name.'"
52 52
 			                        and favorites.assigned_user_id = "' .$current_user->id . '") OR NOT ({0}',
53 53
             'db_field'=>array('id')),
54
-		//Range Search Support 
55
-	   'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
56
-	   'start_range_date_entered' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
57
-	   'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
58
-	   'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
59
-	   'start_range_date_modified' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
60
-       'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
54
+        //Range Search Support 
55
+        'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
56
+        'start_range_date_entered' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
57
+        'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
58
+        'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
59
+        'start_range_date_modified' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
60
+        'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
61 61
 	    
62
-	   'range_estimated_start_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
63
-	   'start_range_estimated_start_date' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
64
-	   'end_range_estimated_start_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
65
-	   'range_estimated_end_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
66
-	   'start_range_estimated_end_date' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
67
-       'end_range_estimated_end_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
68
-		//Range Search Support 				
62
+        'range_estimated_start_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
63
+        'start_range_estimated_start_date' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
64
+        'end_range_estimated_start_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
65
+        'range_estimated_end_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
66
+        'start_range_estimated_end_date' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
67
+        'end_range_estimated_end_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
68
+        //Range Search Support 				
69 69
     );
70 70
 ?>
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 3
 /*********************************************************************************
4 4
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
@@ -40,31 +40,31 @@  discard block
 block discarded – undo
40 40
 global $current_user;
41 41
 $module_name = "Project";
42 42
 $searchFields['Project'] = 
43
-    array (
44
-        'name' => array( 'query_type'=>'default'),
45
-        'current_user_only'=> array('query_type'=>'default','db_field'=>array('assigned_user_id'),'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
43
+    array(
44
+        'name' => array('query_type'=>'default'),
45
+        'current_user_only'=> array('query_type'=>'default', 'db_field'=>array('assigned_user_id'), 'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
46 46
         'favorites_only' => array(
47 47
             'query_type'=>'format',
48 48
             'operator' => 'subquery',
49 49
             'subquery' => 'SELECT favorites.parent_id FROM favorites
50 50
 			                    WHERE favorites.deleted = 0
51 51
 			                        and favorites.parent_type = "'.$module_name.'"
52
-			                        and favorites.assigned_user_id = "' .$current_user->id . '") OR NOT ({0}',
52
+			                        and favorites.assigned_user_id = "' .$current_user->id.'") OR NOT ({0}',
53 53
             'db_field'=>array('id')),
54 54
 		//Range Search Support 
55
-	   'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
56
-	   'start_range_date_entered' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
57
-	   'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
58
-	   'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
59
-	   'start_range_date_modified' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
60
-       'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
55
+	   'range_date_entered' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
56
+	   'start_range_date_entered' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
57
+	   'end_range_date_entered' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
58
+	   'range_date_modified' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
59
+	   'start_range_date_modified' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
60
+       'end_range_date_modified' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
61 61
 	    
62
-	   'range_estimated_start_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
63
-	   'start_range_estimated_start_date' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
64
-	   'end_range_estimated_start_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
65
-	   'range_estimated_end_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
66
-	   'start_range_estimated_end_date' => array ('query_type' => 'default',  'enable_range_search' => true, 'is_date_field' => true),
67
-       'end_range_estimated_end_date' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
62
+	   'range_estimated_start_date' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
63
+	   'start_range_estimated_start_date' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
64
+	   'end_range_estimated_start_date' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
65
+	   'range_estimated_end_date' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
66
+	   'start_range_estimated_end_date' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
67
+       'end_range_estimated_end_date' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),	
68 68
 		//Range Search Support 				
69 69
     );
70 70
 ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if(!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /*********************************************************************************
4 6
  * SugarCRM Community Edition is a customer relationship management program developed by
5 7
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
modules/Project/metadata/detailviewdefs.php 2 patches
Indentation   +84 added lines, -84 removed lines patch added patch discarded remove patch
@@ -42,176 +42,176 @@
 block discarded – undo
42 42
 
43 43
 $viewdefs ['Project'] =
44 44
 array (
45
-  'DetailView' => 
46
-  array (
45
+    'DetailView' => 
46
+    array (
47 47
     'templateMeta' => 
48 48
     array (
49
-      'maxColumns' => '2',
50
-      'widths' => 
51
-      array (
49
+        'maxColumns' => '2',
50
+        'widths' => 
51
+        array (
52 52
         0 => 
53 53
         array (
54
-          'label' => '10',
55
-          'field' => '30',
54
+            'label' => '10',
55
+            'field' => '30',
56 56
         ),
57 57
         1 => 
58 58
         array (
59
-          'label' => '10',
60
-          'field' => '30',
59
+            'label' => '10',
60
+            'field' => '30',
61
+        ),
61 62
         ),
62
-      ),
63
-      'includes' => 
64
-      array (
63
+        'includes' => 
64
+        array (
65 65
         0 => 
66 66
         array (
67
-          'file' => 'modules/Project/Project.js',
67
+            'file' => 'modules/Project/Project.js',
68 68
         ),
69 69
         1 => 
70 70
         array (
71
-          'file' => 'modules/Project/js/custom_project.js',
71
+            'file' => 'modules/Project/js/custom_project.js',
72
+        ),
72 73
         ),
73
-      ),
74
-      'form' => 
75
-      array (
74
+        'form' => 
75
+        array (
76 76
         'buttons' => 
77 77
         array (
78
-          0 => 
79
-          array (
78
+            0 => 
79
+            array (
80 80
             'customCode' => '<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button" type="submit" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\'; {/if}"/>',
81 81
             'sugar_html' => 
82 82
             array (
83
-              'type' => 'submit',
84
-              'value' => ' {$APP.LBL_EDIT_BUTTON_LABEL} ',
85
-              'htmlOptions' => 
86
-              array (
83
+                'type' => 'submit',
84
+                'value' => ' {$APP.LBL_EDIT_BUTTON_LABEL} ',
85
+                'htmlOptions' => 
86
+                array (
87 87
                 'id' => 'edit_button',
88 88
                 'class' => 'button',
89 89
                 'accessKey' => '{$APP.LBL_EDIT_BUTTON_KEY}',
90 90
                 'name' => 'Edit',
91 91
                 'onclick' => '{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\'; {/if}',
92
-              ),
92
+                ),
93 93
             ),
94
-          ),
95
-          1 => 
96
-          array (
94
+            ),
95
+            1 => 
96
+            array (
97 97
             'customCode' => '<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="button" name="Delete" id="delete_button" value="{$APP.LBL_DELETE_BUTTON_LABEL}" onclick="project_delete(this);"/>',
98 98
             'sugar_html' => 
99 99
             array (
100
-              'type' => 'button',
101
-              'id' => 'delete_button',
102
-              'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
103
-              'htmlOptions' => 
104
-              array (
100
+                'type' => 'button',
101
+                'id' => 'delete_button',
102
+                'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
103
+                'htmlOptions' => 
104
+                array (
105 105
                 'title' => '{$APP.LBL_DELETE_BUTTON_TITLE}',
106 106
                 'accessKey' => '{$APP.LBL_DELETE_BUTTON_KEY}',
107 107
                 'id' => 'delete_button',
108 108
                 'class' => 'button',
109 109
                 'onclick' => 'project_delete(this);',
110
-              ),
110
+                ),
111
+            ),
111 112
             ),
112
-          ),
113
-          2 => 
114
-          array (
113
+            2 => 
114
+            array (
115 115
             'customCode' => '<input title="{$APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{$APP.LBL_DUPLICATE_BUTTON_KEY}" class="button" type="submit" name="Duplicate" id="duplicate_button" value="{$APP.LBL_DUPLICATE_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'projecttemplateseditview\'; this.form.return_id.value=\'{$id}\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'EditView\'; this.form.return_id.value=\'{$id}\';{/if}""/>',
116 116
             'sugar_html' => 
117 117
             array (
118
-              'type' => 'submit',
119
-              'value' => '{$APP.LBL_DUPLICATE_BUTTON_LABEL}',
120
-              'htmlOptions' => 
121
-              array (
118
+                'type' => 'submit',
119
+                'value' => '{$APP.LBL_DUPLICATE_BUTTON_LABEL}',
120
+                'htmlOptions' => 
121
+                array (
122 122
                 'title' => '{$APP.LBL_DUPLICATE_BUTTON_TITLE}',
123 123
                 'accessKey' => '{$APP.LBL_DUPLICATE_BUTTON_KEY}',
124 124
                 'class' => 'button',
125 125
                 'name' => 'Duplicate',
126 126
                 'id' => 'duplicate_button',
127 127
                 'onclick' => '{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'projecttemplateseditview\'; this.form.return_id.value=\'{$id}\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'EditView\'; this.form.return_id.value=\'{$id}\';{/if}',
128
-              ),
128
+                ),
129 129
             ),
130
-          ),
131
-          3 => 
132
-          array (
130
+            ),
131
+            3 => 
132
+            array (
133 133
             'customCode' => '<input title="{$APP.LBL_VIEW_GANTT_TITLE}" class="button" type="button" name="view_gantt" id="view_gantt" value="{$APP.LBL_GANTT_BUTTON_LABEL}" onclick="javascript:window.location.href=\'index.php?module=Project&action=view_GanttChart&project_id={$id}\'"/>',
134
-          ),
134
+            ),
135
+        ),
135 136
         ),
136
-      ),
137
-      'useTabs' => true,
138
-      'tabDefs' => 
139
-      array (
137
+        'useTabs' => true,
138
+        'tabDefs' => 
139
+        array (
140 140
         'LBL_PROJECT_INFORMATION' => 
141 141
         array (
142
-          'newTab' => true,
143
-          'panelDefault' => 'expanded',
142
+            'newTab' => true,
143
+            'panelDefault' => 'expanded',
144 144
         ),
145 145
         'LBL_PANEL_ASSIGNMENT' => 
146 146
         array (
147
-          'newTab' => true,
148
-          'panelDefault' => 'expanded',
147
+            'newTab' => true,
148
+            'panelDefault' => 'expanded',
149
+        ),
149 150
         ),
150
-      ),
151 151
     ),
152 152
     'panels' => 
153 153
     array (
154
-      'lbl_project_information' => 
155
-      array (
154
+        'lbl_project_information' => 
155
+        array (
156 156
         0 => 
157 157
         array (
158
-          0 => 'name',
159
-          1 => 'status',
158
+            0 => 'name',
159
+            1 => 'status',
160 160
         ),
161 161
         1 => 
162 162
         array (
163
-          0 => 
164
-          array (
163
+            0 => 
164
+            array (
165 165
             'name' => 'estimated_start_date',
166 166
             'label' => 'LBL_DATE_START',
167
-          ),
168
-          1 => 'priority',
167
+            ),
168
+            1 => 'priority',
169 169
         ),
170 170
         2 => 
171 171
         array (
172
-          0 => 
173
-          array (
172
+            0 => 
173
+            array (
174 174
             'name' => 'estimated_end_date',
175 175
             'label' => 'LBL_DATE_END',
176
-          ),
177
-          1 => '',
176
+            ),
177
+            1 => '',
178 178
         ),
179 179
         3 => 
180 180
         array (
181
-          0 => 'description',
181
+            0 => 'description',
182 182
         ),
183
-      ),
184
-      'LBL_PANEL_ASSIGNMENT' => 
185
-      array (
183
+        ),
184
+        'LBL_PANEL_ASSIGNMENT' => 
185
+        array (
186 186
         0 => 
187 187
         array (
188
-          0 => 
189
-          array (
188
+            0 => 
189
+            array (
190 190
             'name' => 'assigned_user_name',
191 191
             'label' => 'LBL_ASSIGNED_TO',
192
-          ),
193
-          1 => 
194
-          array (
192
+            ),
193
+            1 => 
194
+            array (
195 195
             'name' => 'am_projecttemplates_project_1_name',
196
-          ),
196
+            ),
197 197
         ),
198 198
         1 => 
199 199
         array (
200
-          0 => 
201
-          array (
200
+            0 => 
201
+            array (
202 202
             'name' => 'date_entered',
203 203
             'comment' => 'Date record created',
204 204
             'label' => 'LBL_DATE_ENTERED',
205
-          ),
206
-          1 => 
207
-          array (
205
+            ),
206
+            1 => 
207
+            array (
208 208
             'name' => 'date_modified',
209 209
             'comment' => 'Date record last modified',
210 210
             'label' => 'LBL_DATE_MODIFIED',
211
-          ),
211
+            ),
212 212
         ),
213
-      ),
213
+        ),
214
+    ),
214 215
     ),
215
-  ),
216 216
 );
217 217
 ?>
Please login to merge, or discard this patch.
Spacing   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -41,49 +41,49 @@  discard block
 block discarded – undo
41 41
 
42 42
 
43 43
 $viewdefs ['Project'] =
44
-array (
44
+array(
45 45
   'DetailView' => 
46
-  array (
46
+  array(
47 47
     'templateMeta' => 
48
-    array (
48
+    array(
49 49
       'maxColumns' => '2',
50 50
       'widths' => 
51
-      array (
51
+      array(
52 52
         0 => 
53
-        array (
53
+        array(
54 54
           'label' => '10',
55 55
           'field' => '30',
56 56
         ),
57 57
         1 => 
58
-        array (
58
+        array(
59 59
           'label' => '10',
60 60
           'field' => '30',
61 61
         ),
62 62
       ),
63 63
       'includes' => 
64
-      array (
64
+      array(
65 65
         0 => 
66
-        array (
66
+        array(
67 67
           'file' => 'modules/Project/Project.js',
68 68
         ),
69 69
         1 => 
70
-        array (
70
+        array(
71 71
           'file' => 'modules/Project/js/custom_project.js',
72 72
         ),
73 73
       ),
74 74
       'form' => 
75
-      array (
75
+      array(
76 76
         'buttons' => 
77
-        array (
77
+        array(
78 78
           0 => 
79
-          array (
79
+          array(
80 80
             'customCode' => '<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button" type="submit" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\'; {/if}"/>',
81 81
             'sugar_html' => 
82
-            array (
82
+            array(
83 83
               'type' => 'submit',
84 84
               'value' => ' {$APP.LBL_EDIT_BUTTON_LABEL} ',
85 85
               'htmlOptions' => 
86
-              array (
86
+              array(
87 87
                 'id' => 'edit_button',
88 88
                 'class' => 'button',
89 89
                 'accessKey' => '{$APP.LBL_EDIT_BUTTON_KEY}',
@@ -93,15 +93,15 @@  discard block
 block discarded – undo
93 93
             ),
94 94
           ),
95 95
           1 => 
96
-          array (
96
+          array(
97 97
             'customCode' => '<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="button" name="Delete" id="delete_button" value="{$APP.LBL_DELETE_BUTTON_LABEL}" onclick="project_delete(this);"/>',
98 98
             'sugar_html' => 
99
-            array (
99
+            array(
100 100
               'type' => 'button',
101 101
               'id' => 'delete_button',
102 102
               'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
103 103
               'htmlOptions' => 
104
-              array (
104
+              array(
105 105
                 'title' => '{$APP.LBL_DELETE_BUTTON_TITLE}',
106 106
                 'accessKey' => '{$APP.LBL_DELETE_BUTTON_KEY}',
107 107
                 'id' => 'delete_button',
@@ -111,14 +111,14 @@  discard block
 block discarded – undo
111 111
             ),
112 112
           ),
113 113
           2 => 
114
-          array (
114
+          array(
115 115
             'customCode' => '<input title="{$APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{$APP.LBL_DUPLICATE_BUTTON_KEY}" class="button" type="submit" name="Duplicate" id="duplicate_button" value="{$APP.LBL_DUPLICATE_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'projecttemplateseditview\'; this.form.return_id.value=\'{$id}\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'EditView\'; this.form.return_id.value=\'{$id}\';{/if}""/>',
116 116
             'sugar_html' => 
117
-            array (
117
+            array(
118 118
               'type' => 'submit',
119 119
               'value' => '{$APP.LBL_DUPLICATE_BUTTON_LABEL}',
120 120
               'htmlOptions' => 
121
-              array (
121
+              array(
122 122
                 'title' => '{$APP.LBL_DUPLICATE_BUTTON_TITLE}',
123 123
                 'accessKey' => '{$APP.LBL_DUPLICATE_BUTTON_KEY}',
124 124
                 'class' => 'button',
@@ -129,82 +129,82 @@  discard block
 block discarded – undo
129 129
             ),
130 130
           ),
131 131
           3 => 
132
-          array (
132
+          array(
133 133
             'customCode' => '<input title="{$APP.LBL_VIEW_GANTT_TITLE}" class="button" type="button" name="view_gantt" id="view_gantt" value="{$APP.LBL_GANTT_BUTTON_LABEL}" onclick="javascript:window.location.href=\'index.php?module=Project&action=view_GanttChart&project_id={$id}\'"/>',
134 134
           ),
135 135
         ),
136 136
       ),
137 137
       'useTabs' => true,
138 138
       'tabDefs' => 
139
-      array (
139
+      array(
140 140
         'LBL_PROJECT_INFORMATION' => 
141
-        array (
141
+        array(
142 142
           'newTab' => true,
143 143
           'panelDefault' => 'expanded',
144 144
         ),
145 145
         'LBL_PANEL_ASSIGNMENT' => 
146
-        array (
146
+        array(
147 147
           'newTab' => true,
148 148
           'panelDefault' => 'expanded',
149 149
         ),
150 150
       ),
151 151
     ),
152 152
     'panels' => 
153
-    array (
153
+    array(
154 154
       'lbl_project_information' => 
155
-      array (
155
+      array(
156 156
         0 => 
157
-        array (
157
+        array(
158 158
           0 => 'name',
159 159
           1 => 'status',
160 160
         ),
161 161
         1 => 
162
-        array (
162
+        array(
163 163
           0 => 
164
-          array (
164
+          array(
165 165
             'name' => 'estimated_start_date',
166 166
             'label' => 'LBL_DATE_START',
167 167
           ),
168 168
           1 => 'priority',
169 169
         ),
170 170
         2 => 
171
-        array (
171
+        array(
172 172
           0 => 
173
-          array (
173
+          array(
174 174
             'name' => 'estimated_end_date',
175 175
             'label' => 'LBL_DATE_END',
176 176
           ),
177 177
           1 => '',
178 178
         ),
179 179
         3 => 
180
-        array (
180
+        array(
181 181
           0 => 'description',
182 182
         ),
183 183
       ),
184 184
       'LBL_PANEL_ASSIGNMENT' => 
185
-      array (
185
+      array(
186 186
         0 => 
187
-        array (
187
+        array(
188 188
           0 => 
189
-          array (
189
+          array(
190 190
             'name' => 'assigned_user_name',
191 191
             'label' => 'LBL_ASSIGNED_TO',
192 192
           ),
193 193
           1 => 
194
-          array (
194
+          array(
195 195
             'name' => 'am_projecttemplates_project_1_name',
196 196
           ),
197 197
         ),
198 198
         1 => 
199
-        array (
199
+        array(
200 200
           0 => 
201
-          array (
201
+          array(
202 202
             'name' => 'date_entered',
203 203
             'comment' => 'Date record created',
204 204
             'label' => 'LBL_DATE_ENTERED',
205 205
           ),
206 206
           1 => 
207
-          array (
207
+          array(
208 208
             'name' => 'date_modified',
209 209
             'comment' => 'Date record last modified',
210 210
             'label' => 'LBL_DATE_MODIFIED',
Please login to merge, or discard this patch.
modules/Project/metadata/quickcreatedefs.php 3 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -40,34 +40,34 @@
 block discarded – undo
40 40
 
41 41
 
42 42
 $viewdefs['Project']['QuickCreate'] = array(
43
-					'templateMeta' => array('maxColumns' => '2', 
43
+                    'templateMeta' => array('maxColumns' => '2', 
44 44
                         'widths' => array(
45 45
                                         array('label' => '10', 'field' => '30'), 
46 46
                                         array('label' => '10', 'field' => '30')
47 47
                                         ),
48
-                       ),
48
+                        ),
49 49
 'panels' =>
50 50
 
51 51
 array (
52 52
   
53
-  array (
53
+    array (
54 54
     'name',
55 55
     'status'
56
-  ),
56
+    ),
57 57
   
58
-  array (
58
+    array (
59 59
     'estimated_start_date',
60 60
     'estimated_end_date'
61
-  ),
61
+    ),
62 62
   
63
-  array('priority',),
64
-  array('assigned_user_name',
65
-  ),
66
-  array (
63
+    array('priority',),
64
+    array('assigned_user_name',
65
+    ),
66
+    array (
67 67
     array (
68
-      'name' => 'description',
68
+        'name' => 'description',
69
+    ),
69 70
     ),
70
-  ),
71 71
 
72 72
 ),
73 73
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 3
 /*********************************************************************************
4 4
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
                        ),
49 49
 'panels' =>
50 50
 
51
-array (
51
+array(
52 52
   
53
-  array (
53
+  array(
54 54
     'name',
55 55
     'status'
56 56
   ),
57 57
   
58
-  array (
58
+  array(
59 59
     'estimated_start_date',
60 60
     'estimated_end_date'
61 61
   ),
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
   array('priority',),
64 64
   array('assigned_user_name',
65 65
   ),
66
-  array (
67
-    array (
66
+  array(
67
+    array(
68 68
       'name' => 'description',
69 69
     ),
70 70
   ),
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if(!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /*********************************************************************************
4 6
  * SugarCRM Community Edition is a customer relationship management program developed by
5 7
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
modules/Project/metadata/metafiles.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -38,13 +38,13 @@
 block discarded – undo
38 38
  ********************************************************************************/
39 39
 
40 40
 
41
- $metafiles['Project'] = array(
42
-	'detailviewdefs'  => 	'modules/Project/metadata/detailviewdefs.php', 	
43
-	'editviewdefs'    => 	'modules/Project/metadata/editviewdefs.php',
44
- 	'listviewdefs'    => 	'modules/Project/metadata/listviewdefs.php',
45
- 	'searchdefs'      =>    'modules/Project/metadata/searchdefs.php',
46
- 	'popupdefs'	      =>    'modules/Project/metadata/popupdefs.php',
47
- 	'searchfields'	  =>    'modules/Project/metadata/SearchFields.php',
41
+    $metafiles['Project'] = array(
42
+    'detailviewdefs'  => 	'modules/Project/metadata/detailviewdefs.php', 	
43
+    'editviewdefs'    => 	'modules/Project/metadata/editviewdefs.php',
44
+        'listviewdefs'    => 	'modules/Project/metadata/listviewdefs.php',
45
+        'searchdefs'      =>    'modules/Project/metadata/searchdefs.php',
46
+        'popupdefs'	      =>    'modules/Project/metadata/popupdefs.php',
47
+        'searchfields'	  =>    'modules/Project/metadata/SearchFields.php',
48 48
 
49
- );
49
+    );
50 50
 ?>
Please login to merge, or discard this patch.
modules/Project/metadata/listviewdefs.php 3 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -43,48 +43,48 @@
 block discarded – undo
43 43
 
44 44
 $listViewDefs ['Project'] =
45 45
 array (
46
-  'NAME' => 
47
-  array (
46
+    'NAME' => 
47
+    array (
48 48
     'width' => '25%',
49 49
     'label' => 'LBL_LIST_NAME',
50 50
     'link' => true,
51 51
     'default' => true,
52
-  ),
53
-  'PRIORITY' => 
54
-  array (
52
+    ),
53
+    'PRIORITY' => 
54
+    array (
55 55
     'type' => 'enum',
56 56
     'label' => 'LBL_PRIORITY',
57 57
     'width' => '10%',
58 58
     'default' => true,
59
-  ),
60
-  'STATUS' => 
61
-  array (
59
+    ),
60
+    'STATUS' => 
61
+    array (
62 62
     'width' => '10%',
63 63
     'label' => 'LBL_STATUS',
64 64
     'link' => false,
65 65
     'default' => true,
66
-  ),
67
-  'ESTIMATED_START_DATE' => 
68
-  array (
66
+    ),
67
+    'ESTIMATED_START_DATE' => 
68
+    array (
69 69
     'width' => '10%',
70 70
     'label' => 'LBL_DATE_START',
71 71
     'link' => false,
72 72
     'default' => true,
73
-  ),
74
-  'ASSIGNED_USER_NAME' => 
75
-  array (
73
+    ),
74
+    'ASSIGNED_USER_NAME' => 
75
+    array (
76 76
     'width' => '10%',
77 77
     'label' => 'LBL_LIST_ASSIGNED_USER_ID',
78 78
     'module' => 'Employees',
79 79
     'id' => 'ASSIGNED_USER_ID',
80 80
     'default' => true,
81
-  ),
82
-  'ESTIMATED_END_DATE' => 
83
-  array (
81
+    ),
82
+    'ESTIMATED_END_DATE' => 
83
+    array (
84 84
     'width' => '10%',
85 85
     'label' => 'LBL_DATE_END',
86 86
     'link' => false,
87 87
     'default' => true,
88
-  ),
88
+    ),
89 89
 );
90 90
 ?>
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 3
 /*********************************************************************************
4 4
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
@@ -42,37 +42,37 @@  discard block
 block discarded – undo
42 42
 
43 43
 
44 44
 $listViewDefs ['Project'] =
45
-array (
45
+array(
46 46
   'NAME' => 
47
-  array (
47
+  array(
48 48
     'width' => '25%',
49 49
     'label' => 'LBL_LIST_NAME',
50 50
     'link' => true,
51 51
     'default' => true,
52 52
   ),
53 53
   'PRIORITY' => 
54
-  array (
54
+  array(
55 55
     'type' => 'enum',
56 56
     'label' => 'LBL_PRIORITY',
57 57
     'width' => '10%',
58 58
     'default' => true,
59 59
   ),
60 60
   'STATUS' => 
61
-  array (
61
+  array(
62 62
     'width' => '10%',
63 63
     'label' => 'LBL_STATUS',
64 64
     'link' => false,
65 65
     'default' => true,
66 66
   ),
67 67
   'ESTIMATED_START_DATE' => 
68
-  array (
68
+  array(
69 69
     'width' => '10%',
70 70
     'label' => 'LBL_DATE_START',
71 71
     'link' => false,
72 72
     'default' => true,
73 73
   ),
74 74
   'ASSIGNED_USER_NAME' => 
75
-  array (
75
+  array(
76 76
     'width' => '10%',
77 77
     'label' => 'LBL_LIST_ASSIGNED_USER_ID',
78 78
     'module' => 'Employees',
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     'default' => true,
81 81
   ),
82 82
   'ESTIMATED_END_DATE' => 
83
-  array (
83
+  array(
84 84
     'width' => '10%',
85 85
     'label' => 'LBL_DATE_END',
86 86
     'link' => false,
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if(!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /*********************************************************************************
4 6
  * SugarCRM Community Edition is a customer relationship management program developed by
5 7
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
modules/Project/ProjectListViewSmarty.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -18,24 +18,24 @@
 block discarded – undo
18 18
 
19 19
         if (preg_match('/^6\.[2-4]/', $sugar_config['sugar_version'])) { // Older v6.2-6.4
20 20
 
21
-            $script = "<a href='#' style='width: 150px' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' " .
22
-                    "onmouseout='unhiliteItem(this);' onclick=\"return sListView.send_form(true, '{$_REQUEST['module']}', " .
23
-                    "'index.php?entryPoint=export','{$app_strings['LBL_LISTVIEW_NO_SELECTED']}')\">{$app_strings['LBL_EXPORT']}</a>" .
24
-                    "<a href='#' style='width: 150px' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' " .
25
-                    "onmouseout='unhiliteItem(this);' onclick=\"return sListView.send_form(true, 'jjwg_Maps', " .
26
-                    "'index.php?entryPoint=jjwg_Maps&display_module={$_REQUEST['module']}', " .
21
+            $script = "<a href='#' style='width: 150px' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' ".
22
+                    "onmouseout='unhiliteItem(this);' onclick=\"return sListView.send_form(true, '{$_REQUEST['module']}', ".
23
+                    "'index.php?entryPoint=export','{$app_strings['LBL_LISTVIEW_NO_SELECTED']}')\">{$app_strings['LBL_EXPORT']}</a>".
24
+                    "<a href='#' style='width: 150px' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' ".
25
+                    "onmouseout='unhiliteItem(this);' onclick=\"return sListView.send_form(true, 'jjwg_Maps', ".
26
+                    "'index.php?entryPoint=jjwg_Maps&display_module={$_REQUEST['module']}', ".
27 27
                     "'{$app_strings['LBL_LISTVIEW_NO_SELECTED']}')\">{$app_strings['LBL_MAP']}</a>";
28 28
                     
29 29
         } else { // Newer v6.5+
30 30
             
31 31
             $script = "<a href='javascript:void(0)' id='export_listview_top' ".
32
-                    "onclick=\"return sListView.send_form(true, '{$_REQUEST['module']}', " .
33
-                    "'index.php?entryPoint=export', " . 
34
-                    "'{$app_strings['LBL_LISTVIEW_NO_SELECTED']}')\">{$app_strings['LBL_EXPORT']}</a>" .
35
-                    "</li><li>". // List item hack
36
-                    "<a href='javascript:void(0)' id='map_listview_top' " .
37
-                    " onclick=\"return sListView.send_form(true, 'jjwg_Maps', " .
38
-                    "'index.php?entryPoint=jjwg_Maps&display_module={$_REQUEST['module']}', " .
32
+                    "onclick=\"return sListView.send_form(true, '{$_REQUEST['module']}', ".
33
+                    "'index.php?entryPoint=export', ". 
34
+                    "'{$app_strings['LBL_LISTVIEW_NO_SELECTED']}')\">{$app_strings['LBL_EXPORT']}</a>".
35
+                    "</li><li>".// List item hack
36
+                    "<a href='javascript:void(0)' id='map_listview_top' ".
37
+                    " onclick=\"return sListView.send_form(true, 'jjwg_Maps', ".
38
+                    "'index.php?entryPoint=jjwg_Maps&display_module={$_REQUEST['module']}', ".
39 39
                     "'{$app_strings['LBL_LISTVIEW_NO_SELECTED']}')\">{$app_strings['LBL_MAP']}</a>";
40 40
         }
41 41
 
Please login to merge, or discard this patch.
modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.meta.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
 global $app_strings;
50 50
 
51 51
 $dashletMeta['SugarFeedDashlet'] = array('module'		=> 'SugarFeed',
52
-										  'title'       => translate('LBL_HOMEPAGE_TITLE', 'SugarFeed'), 
53
-                                          'description' => 'A customizable view into Sugar_Feed',
54
-                                          'icon'        => 'themes/default/images/icon_SugarFeed_32.gif',
55
-                                          'dynamic_hide' => true,
56
-                                          'category'    => 'Tools');
57 52
\ No newline at end of file
53
+                                            'title'       => translate('LBL_HOMEPAGE_TITLE', 'SugarFeed'), 
54
+                                            'description' => 'A customizable view into Sugar_Feed',
55
+                                            'icon'        => 'themes/default/images/icon_SugarFeed_32.gif',
56
+                                            'dynamic_hide' => true,
57
+                                            'category'    => 'Tools');
58 58
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 3
 /*********************************************************************************
4 4
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if(!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /*********************************************************************************
4 6
  * SugarCRM Community Edition is a customer relationship management program developed by
5 7
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.