From 26d5e326af47eaf41260b5f0a84d3d439e3ed255 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 3 Oct 2013 22:25:09 +0200 Subject: setup now uses PDO --- ratatoeskr/setup/create_tables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/setup') diff --git a/ratatoeskr/setup/create_tables.php b/ratatoeskr/setup/create_tables.php index 97a4cd5..ef226d8 100644 --- a/ratatoeskr/setup/create_tables.php +++ b/ratatoeskr/setup/create_tables.php @@ -175,7 +175,7 @@ function create_mysql_tables() qdb($q); } - qdb("INSERT INTO `PREFIX_meta` (`key`, `value`) VALUES ('dbversion', '%s')", base64_encode(serialize(1))); + qdb("INSERT INTO `PREFIX_meta` (`key`, `value`) VALUES ('dbversion', ?)", base64_encode(serialize(1))); } ?> -- cgit v1.2.3-70-g09d2