We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f959af commit 8cf2c99Copy full SHA for 8cf2c99
lib_his.php
@@ -165,7 +165,7 @@ function get_courses_by_veranstids($veranstids) {
165
FROM " . HIS_VERANSTALTUNG . " as veranst
166
WHERE
167
veranstid in ($veranstidsstring)
168
- AND (CURRENTDATE - CAST(veranst.zeitstempel AS date)) < $maxage
+ AND (CURRENT_DATE - CAST(veranst.zeitstempel AS date)) < $maxage
169
ORDER BY semester, titel;";
170
171
$q = pg_query($pgdb->connection, $sql);
0 commit comments