diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-14 15:15:33 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-07-14 15:15:33 +0000 |
| commit | 66f2efbd6bbfd99beaed848423ae64fcfb01e20e (patch) | |
| tree | 1e4f81dff420ffd9da51fe932fb72bec8e6f2d56 /app | |
| parent | 769675071b44cff1f699396270b378d189ada866 (diff) | |
fix typo, fixes #1330
Closes #1330
Merge request studip/studip!816
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/oer/mymaterial.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/oer/mymaterial.php b/app/controllers/oer/mymaterial.php index bcabeac..48bfe81 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) ]); } |
