Skip to content
Snippets Groups Projects
Commit 66f2efbd authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

fix typo, fixes #1330

Closes #1330

Merge request studip/studip!816
parent 76967507
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,7 @@ class Oer_MymaterialController extends AuthenticatedController ...@@ -226,7 +226,7 @@ class Oer_MymaterialController extends AuthenticatedController
} }
$this->counter = OERDownloadcounter::countBySQL("material_id = ?", [$material->id]); $this->counter = OERDownloadcounter::countBySQL("material_id = ?", [$material->id]);
$this->counter_today = OERDownloadcounter::countBySQL("material_id = :material_id AND mkdate >= :start", [ $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) 'start' => mktime(0, 0, 0)
]); ]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment