Fix SQL INSERT error with MariaDB 10.3

This commit is contained in:
Flow 2019-11-01 18:05:32 +01:00 committed by GitHub
parent a0ea9caeab
commit 22c322ab02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,7 +180,7 @@
return false;
}
if (!$db->insertIntoTable('scheduleds', ['at' => $date, 'content' => $content, 'progress' => false]))
if (!$db->insertIntoTable('scheduleds', ['at' => $date, 'content' => $content, 'progress' => 0]))
{
if (!$api)
{