Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Update NewsManagerArticle.php
Browse files Browse the repository at this point in the history
Subtitle Schreibfehler, der zu einer Exception führte.
  • Loading branch information
Markus-GS authored Apr 2, 2020
1 parent b3cae4b commit eef9a27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/NewsManagerArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class NewsManagerArticle
private $subtitle;
private $richtext;
private $images;
private $seo_title;
private $seo_title;
private $seo_description;
private $seo_canonical;
private $clang_id;
Expand Down Expand Up @@ -151,7 +151,7 @@ public function setTitle($title)
$this->title = $title;
}

public function setSubitle($subtitle)
public function setSubtitle($subtitle)
{
$this->subtitle = $subtitle;
}
Expand Down Expand Up @@ -319,6 +319,7 @@ public function printArticleTeaser($post, $singleViewArticleId)

$output .= $this->tpl->render($suggestions, array(
'title' => $post->getTitle(),
'subtitle' => $post->getSubTitle(),
'createdate' => strftime('%A, %e. %B %Y', strtotime($post->getCreatedate())),
'url' => $this->getUrl(),
'teasertext' => $this->getTeaserText(),
Expand Down

0 comments on commit eef9a27

Please sign in to comment.