abuddy/settee — comment on commit 536f361bcfe73743be01a8829e0e217c48b751ab
File:  line 0
By abuddy:

Hi,

When I want to save multiple fields as document like this (just an example):

$ret = $db->save(array(
'username' => $username,
'password' => $password,
'registration_date' => $date,
));

return $ret;

I get two warnings from php:

Warning: Attempt to assign property of non-object in C:\srv\www\Settee\classes\SetteeDatabase.class.php on line 102

Warning: Attempt to assign property of non-object in C:\srv\www\Settee\classes\SetteeDatabase.class.php on line 103

And, of course array is returned, not a object:

Array
(
[username] => test
[password] => fff67f7fe35832a037fe2c8f0a7a24bd7498d595aa28d486a0dc214c6392ccdf
[registration_date] => 2011-12-22T21:13:32+00:00
)

Array doesn't contain _id and _rev.

I didn't really look in your code and I can't say why this is hapenning, gonna chek it now.