From 2f91ea9c7409e5419b2111448bb89449ed8e0185 Mon Sep 17 00:00:00 2001 From: 8chan Date: Tue, 7 Oct 2014 20:52:20 -0700 Subject: [PATCH] Fix create for new boards table --- create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create.php b/create.php index e4b28215..0807f9e0 100644 --- a/create.php +++ b/create.php @@ -107,7 +107,7 @@ $query->bindValue(':type', 20); $query->bindValue(':boards', $uri); $query->execute() or error(db_error($query)); -$query = prepare('INSERT INTO ``boards`` VALUES (:uri, :title, :subtitle)'); +$query = prepare('INSERT INTO ``boards`` VALUES (:uri, :title, :subtitle, NULL, NULL)'); $query->bindValue(':uri', $_POST['uri']); $query->bindValue(':title', $_POST['title']); $query->bindValue(':subtitle', $_POST['subtitle']);