vrana/notorm — pull request #58 by lichtner (2013-03-21 15:09:55+00:00)
Title: Fix update row

1. This update db and also `$application`

```php
$application = $software->application[1];
$application["title"] = "Adminer2";
$application->update();
echo $application["title"] // return Adminer2
```

2. This update only db but **not** `$application`

```php
$application = $software->application[1];
$data = array("title" => "Adminer2");
$application->update($data);
echo $application["title"] // return Adminer
```

Second is not consistent and unexpected behavior. This pull request fix second way. I added also test for it.