aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/setup/create_tables.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-10-03 22:25:09 +0200
committerKevin Chabowski <kevin@kch42.de>2013-10-03 22:25:09 +0200
commit26d5e326af47eaf41260b5f0a84d3d439e3ed255 (patch)
tree1742957fcfb1011940085407301912e1c6631cec /ratatoeskr/setup/create_tables.php
parent8f5461a4d9036c432c63c3f6bbb5cfc03ebcd59b (diff)
downloadratatoeskr-cms-26d5e326af47eaf41260b5f0a84d3d439e3ed255.tar.gz
ratatoeskr-cms-26d5e326af47eaf41260b5f0a84d3d439e3ed255.tar.bz2
ratatoeskr-cms-26d5e326af47eaf41260b5f0a84d3d439e3ed255.zip
setup now uses PDO
Diffstat (limited to 'ratatoeskr/setup/create_tables.php')
-rw-r--r--ratatoeskr/setup/create_tables.php2
1 files changed, 1 insertions, 1 deletions
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)));
}
?>