Skip to content

Commit

Permalink
Fix in COM_createHTMLDocument for Left and Right Blocks
Browse files Browse the repository at this point in the history
For for #871
  • Loading branch information
eSilverStrike committed Sep 18, 2019
1 parent ceccc65 commit d6bbb75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_html/lib-common.php
Expand Up @@ -1326,9 +1326,9 @@ function COM_createHTMLDocument(&$content = '', $information = array())
* This can be used to take control over what blocks are then displayed
*/
if (is_array($custom)) {
$function = $custom['0'];
$function = $custom[0];
if (function_exists($function)) {
$rBlocks = $function($custom['1'], 'right');
$rBlocks = $function($custom[1], 'right');
} else {
$rBlocks = COM_showBlocks('right');
}
Expand Down

0 comments on commit d6bbb75

Please sign in to comment.