Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in docs (via Joe Harvey).

  • Loading branch information...
commit 15dbfe8f1ce634a345a1f24a71c82be72621e8c1 1 parent 6c02cea
@wilr wilr authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.