add a default

git-svn-id: file:///home/shish/svn/shimmie2/trunk@135 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-25 07:40:14 +00:00
parent bb19755625
commit 574583bb48

View file

@ -150,7 +150,7 @@ class Wiki extends Extension {
global $database;
global $config;
if($config->get_int("ext_wiki_version") < 1) {
if($config->get_int("ext_wiki_version", 0) < 1) {
$database->Execute("CREATE TABLE wiki_pages (
id int(11) NOT NULL auto_increment,
owner_id int(11) NOT NULL,