dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit 30bb0d4657 - Show all commits
+9 -1
View File
@@ -67,7 +67,15 @@ class LocalArticleManager implements ArticleManagerDAO {
public function getArticle($id)
{
// TODO: Implement getArticle() method.
$articles = $this->getAllArticles();
foreach ($articles as $article) {
if (isset($article['id']) && $article['id'] == $id) {
return $article;
}
}
return null;
}
public function getAllArticles()