Skip to content
This repository
Browse code

Fix typo in docs (via Joe Harvey).

  • Loading branch information...
commit 15dbfe8f1ce634a345a1f24a71c82be72621e8c1 1 parent 6c02cea
Will Rossiter authored July 21, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/en/tutorials/3-forms.md
2  docs/en/tutorials/3-forms.md
Source Rendered
@@ -313,7 +313,7 @@ Create the function 'BrowserPollResults' on the *HomePage_Controller* class.
313 313
 		
314 314
 		$list = new ArrayList();
315 315
 		foreach($submissions->groupBy('Browser') as $browserName => $browserSubmissions) {
316  
-			$percentage = (int) ($data->Count() / $total * 100);
  316
+			$percentage = (int) ($browserSubmissions->Count() / $total * 100);
317 317
 			$list->push(new ArrayData(array(
318 318
 				'Browser' => $browserName,
319 319
 				'Percentage' => $percentage

0 notes on commit 15dbfe8

Please sign in to comment.
Something went wrong with that request. Please try again.