ZF-11822: there is a wrong example in the online documentation
Description
http://framework.zend.com/manual/en/…
On this page after Example 5 there is the following example:
$bugs = new Bugs();
// fetch all records from the table $rowset = $bugs->fetchAll();
// retrieve the 9th element immediately: $row9->getRow(8);
The following row: "$row9->getRow(8);" should be changed to "$row9 = $rowset->getRow(8);"
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-10-14T15:49:42.000+0000
Fixed in trunk r24508 Merged to release-1.11 in r24509
ZF2 pull request: https://github.com/zendframework/zf2/pull/501