Skip to content

Commit

Permalink
Fix typo in docs (via Joe Harvey).
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Jul 21, 2012
1 parent 6c02cea commit 15dbfe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/tutorials/3-forms.md
Expand Up @@ -313,7 +313,7 @@ Create the function 'BrowserPollResults' on the *HomePage_Controller* class.
$list = new ArrayList();
foreach($submissions->groupBy('Browser') as $browserName => $browserSubmissions) {
$percentage = (int) ($data->Count() / $total * 100);
$percentage = (int) ($browserSubmissions->Count() / $total * 100);
$list->push(new ArrayData(array(
'Browser' => $browserName,
'Percentage' => $percentage
Expand Down

0 comments on commit 15dbfe8

Please sign in to comment.