mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Fixed loading of current Geschaeftsjahr if it is the last day of the
year
This commit is contained in:
@@ -20,8 +20,8 @@ class Geschaeftsjahr_model extends DB_Model
|
||||
{
|
||||
$query = 'SELECT *
|
||||
FROM public.tbl_geschaeftsjahr
|
||||
WHERE start <= now()
|
||||
AND ende >= now()
|
||||
WHERE start <= CURRENT_DATE
|
||||
AND ende >= CURRENT_DATE
|
||||
ORDER BY start DESC
|
||||
LIMIT 1';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user