File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 188188$ dashlets_config [$ role .'_dashlets_left ' ] = trim ($ dashlets_config [$ role .'_dashlets_left ' ]);
189189$ dashlets_config [$ role .'_dashlets_right ' ] = trim ($ dashlets_config [$ role .'_dashlets_right ' ]);
190190
191- if ($ dashlets_config [$ role .'_dashlets_left ' ] != '' ){
191+ if ($ dashlets_config [$ role .'_dashlets_left ' ] != '' || $ dashlets_config [ $ role . ' _dashlets_right ' ] != '' ){
192192 preg_match_all ('@\[(.*?)\]@ ' , $ dashlets_config [$ role .'_dashlets_left ' ], $ matches );
193193 $ leftcol_dashlets = $ matches [1 ];
194194} else {
195195 $ leftcol_dashlets = $ default_leftcol_dashlets ;
196196}
197- if ($ dashlets_config [$ role .'_dashlets_right ' ] != '' ){
197+ if ($ dashlets_config [$ role .'_dashlets_right ' ] != '' || $ dashlets_config [ $ role . ' _dashlets_left ' ] != '' ){
198198 preg_match_all ('@\[(.*?)\]@ ' , $ dashlets_config [$ role .'_dashlets_right ' ], $ matches );
199199 $ rightcol_dashlets = $ matches [1 ];
200200} else {
You can’t perform that action at this time.
0 commit comments