Browse Source

Merge pull request #156 from andersonamuller/patch-1

Fixes the variable name
tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
462f2033dd
  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