Browse Source

Fixes the variable name

tags/2.0.0-beta
Anderson Müller 12 years ago
parent
commit
8c18feb1b5
  1. 2
      docs/guide/upgrade-from-v1.md

2
docs/guide/upgrade-from-v1.md

@ -204,7 +204,7 @@ $model = new Post;
if ($this->populate($_POST, $model)) {...}
// which is equivalent to:
if (isset($_POST['Post'])) {
$post->attributes = $_POST['Post'];
$model->attributes = $_POST['Post'];
}
```

Loading…
Cancel
Save