summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/querying.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/querying.rst b/docs/querying.rst
index 1e5afd3..e93994b 100644
--- a/docs/querying.rst
+++ b/docs/querying.rst
@@ -126,7 +126,7 @@ over it just like an array.
<?php
foreach(ORM::for_table('person')->find_result_set() as $record) {
- echo $person->name;
+ echo $record->name;
}
.. code-block:: php