Browse files

Fix typo in docs (via Joe Harvey).

  • Loading branch information...
1 parent 6c02cea commit 15dbfe8f1ce634a345a1f24a71c82be72621e8c1 @wilr wilr committed Jul 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/en/tutorials/3-forms.md
View
2 docs/en/tutorials/3-forms.md
@@ -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

0 comments on commit 15dbfe8

Please sign in to comment.