Skip to content

Commit

Permalink
Merge pull request #120 from helmuth-tschenett/patch-2
Browse files Browse the repository at this point in the history
Update output.inc danke
  • Loading branch information
skerbis authored Mar 26, 2020
2 parents 58317d1 + 6fc6621 commit 2ac1cf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/module/0010_text_bild_video_link/output.inc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if($mediamanagertyp == '') {
$mediamanagertyp = 'standard';
}

if(!rex_addon::get('markitup')->isAvailable() && !rex_addon::get('rex_redactor2')->isAvailable()) {
if(!rex_addon::get('markitup')->isAvailable() && !rex_addon::get('redactor2')->isAvailable()) {
$editor = 'markitup';
echo rex_view::error('Dieses Modul benötigt das "MarkItUp" oder das "Redactor 2" Addon!');
}
Expand Down Expand Up @@ -294,7 +294,7 @@ foreach ($reihenfolge as $nummer) {
$text = '';
if ($value['text'] !='') {

if (rex_addon::get('rex_redactor2')->isAvailable()) {
if (rex_addon::get('redactor2')->isAvailable()) {
$value['text'] = $value['text'];
} else {
$value['text'] = markitup::parseOutput ('textile', $value['text']);
Expand Down

0 comments on commit 2ac1cf5

Please sign in to comment.