Skip to content

Commit

Permalink
Fix spaces (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
obuisard authored Oct 27, 2024
1 parent c38df22 commit 806aaab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions administrator/components/com_j2store/helpers/j2html.php
Original file line number Diff line number Diff line change
Expand Up @@ -892,12 +892,12 @@ public static function custom($type, $name, $value, $options = array())
$value = $content->source;
}

if ($editor_type) {
$editor = Editor::getInstance($editor_type);
if ($editor_type) {
$editor = Editor::getInstance($editor_type);
} else {
$config = Factory::getApplication()->getConfig();
$defaultEditor = $config->get('editor');
$editor = Editor::getInstance($defaultEditor);
$config = Factory::getApplication()->getConfig();
$defaultEditor = $config->get('editor');
$editor = Editor::getInstance($defaultEditor);
}

$buttons = isset($options['buttons']) ? $options['buttons'] : false; // Default to true (enable all buttons)
Expand Down

0 comments on commit 806aaab

Please sign in to comment.