You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When OC is run with PostgreSQL ad database, journal yields a fatal error.
The cause of the error is line 38 in lib/vjournal.php. The string "VJOURNAL" should be 'VJOURNAL' (single quotes).
Fix is trivial: change line 38
$stmt = \OCP\DB::prepare('SELECT * FROM _PREFIX_clndr_objects WHERE calendarid = ? AND objecttype = "VJOURNAL"');
to
$stmt = \OCP\DB::prepare('SELECT * FROM _PREFIX_clndr_objects WHERE calendarid = ? AND objecttype = 'VJOURNAL'');
The text was updated successfully, but these errors were encountered:
When OC is run with PostgreSQL ad database, journal yields a fatal error.
The cause of the error is line 38 in lib/vjournal.php. The string "VJOURNAL" should be 'VJOURNAL' (single quotes).
Fix is trivial: change line 38
$stmt = \OCP\DB::prepare('SELECT * FROM _PREFIX_clndr_objects WHERE calendarid = ? AND objecttype = "VJOURNAL"');
to
$stmt = \OCP\DB::prepare('SELECT * FROM _PREFIX_clndr_objects WHERE calendarid = ? AND objecttype = 'VJOURNAL'');
The text was updated successfully, but these errors were encountered: