Fixed MySQL insert problems when MySQL is used in strict mode.

This commit is contained in:
Jérôme Schneider 2012-11-16 08:59:47 +01:00
parent 1143f97a79
commit 8d286cbcaf
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ class AddressBook extends \Flake\Core\Model\Db {
"displayname" => "",
"uri" => "",
"description" => "",
"ctag" => "",
"ctag" => 1,
);
public static function humanName() {

View file

@ -35,9 +35,9 @@ class Calendar extends \Flake\Core\Model\Db {
"principaluri" => "",
"displayname" => "",
"uri" => "",
"ctag" => "",
"ctag" => 0,
"description" => "",
"calendarorder" => "",
"calendarorder" => 0,
"calendarcolor" => "",
"timezone" => "",
"components" => "",