diff options
-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); |