Skip to content
Snippets Groups Projects
Commit 9b0d6bc6 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Elmar Ludwig
Browse files

fix typo, fixes #1330

Closes #1330

Merge request studip/studip!816
parent 7569f6f0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment