mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 05:16:28 +02:00
Fix SQL INSERT error with MariaDB 10.3
This commit is contained in:
parent
a0ea9caeab
commit
22c322ab02
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue