From 9b0d6bc6cecc8958a6d5f6c79b775c224d8328f2 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Thu, 14 Jul 2022 15:15:33 +0000 Subject: [PATCH] fix typo, fixes #1330 Closes #1330 Merge request studip/studip!816 --- app/controllers/oer/mymaterial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/oer/mymaterial.php b/app/controllers/oer/mymaterial.php index ddb5d60a83e..54879588065 100755 --- a/app/controllers/oer/mymaterial.php +++ b/app/controllers/oer/mymaterial.php @@ -213,7 +213,7 @@ class Oer_MymaterialController extends AuthenticatedController } $this->counter = OERDownloadcounter::countBySQL("material_id = ?", [$material->id]); $this->counter_today = OERDownloadcounter::countBySQL("material_id = :material_id AND mkdate >= :start", [ - 'material_id' => $materia->id, + 'material_id' => $material->id, 'start' => mktime(0, 0, 0) ]); } -- GitLab