From f90c8cee3cb66f495108d68e95699a23aaa39f66 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 29 Jan 2020 20:36:25 +0000 Subject: [PATCH] SQL T_T --- ext/relationships/test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/relationships/test.php b/ext/relationships/test.php index 3bc5edea..730eefad 100644 --- a/ext/relationships/test.php +++ b/ext/relationships/test.php @@ -82,7 +82,7 @@ class RelationshipsTest extends ShimmiePHPUnitTestCase [$image_1, $image_2, $image_3] = $imgs; global $database; - $database->execute("UPDATE images SET parent_id=NULL, has_children=FALSE"); + $database->execute("UPDATE images SET parent_id=NULL, has_children=:false", ["false"=>false]); // FIXME: send_event(new ImageRelationshipSetEvent($image_2->id, null)); // refresh data from database