diff options
author | dakkar <dakkar@thenautilus.net> | 2011-03-25 23:44:37 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2011-03-25 23:44:37 +0000 |
commit | 60e846a09aaf92c9530ac5c7fba90f2ea6a5a28f (patch) | |
tree | 5294adb448e3334e095abb3ce3c3fcc4d49bbf91 | |
parent | prefixless installation instruction (diff) | |
download | weave-minimal-60e846a09aaf92c9530ac5c7fba90f2ea6a5a28f.tar.gz weave-minimal-60e846a09aaf92c9530ac5c7fba90f2ea6a5a28f.tar.bz2 weave-minimal-60e846a09aaf92c9530ac5c7fba90f2ea6a5a28f.zip |
-rw-r--r-- | weave_storage.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weave_storage.php b/weave_storage.php index d02aae8..455879b 100644 --- a/weave_storage.php +++ b/weave_storage.php @@ -52,7 +52,6 @@ class WeaveStorage array_pop($path); array_push($path, $db_name); $db_name = implode('/', $path); - $create_tables = !file_exists($db_name); try @@ -204,7 +203,7 @@ class WeaveStorage $sth = $this->_dbh->prepare($insert_stmt); $sth->bindParam(':username', $this->_username); $id=$wbo->id();$sth->bindParam(':id', $id); - $col=$wbo->collection();$sth->bindParam(':collection', $coll); + $coll=$wbo->collection();$sth->bindParam(':collection', $coll); $parent=$wbo->parentid();$sth->bindParam(':parentid', $parent); $pred=$wbo->predecessorid();$sth->bindParam(':predecessorid', $pred); $depth=$wbo->depth();$sth->bindParam(':depth', $depth); |