From 66f2efbd6bbfd99beaed848423ae64fcfb01e20e 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 bcabeacfa24..48bfe813617 100644 --- a/app/controllers/oer/mymaterial.php +++ b/app/controllers/oer/mymaterial.php @@ -226,7 +226,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