Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed typo in doctrine2 form integration chapter
  • Loading branch information
Hugo Hamon committed Jan 25, 2011
commit 5fb1a83bcd5227a6bf84dce888eec8f7ecf0cddc
2 changes: 1 addition & 1 deletion guides/doctrine/orm/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ be chosen from::

$userChoices = array();
$users = $em->getRepository('User')->findAll();
foreach ($users AS $user) {
foreach ($users as $user) {
$userChoices[$user->id] = $user->name;
}

Expand Down