ZF-9723: Zend_Feed_Reader::detectType, Notice: Undefined variable: doc [...] on line 430
Description
Occurs when calling Zend_Feed_Reader::detectType(). Due to a variable name typo in Line 430: $status = $doc->loadXML($feed);
This should be: $status = $dom->loadXML($feed);
Comments
Posted by Sebastian Knüll (sknuell) on 2010-04-21T02:03:29.000+0000
Patch as described in report.
Posted by Pádraic Brady (padraic) on 2010-04-28T08:51:29.000+0000
Resolved in r22031. This is what you get for missing the odd test or two ;).
Posted by Sebastian Knüll (sknuell) on 2010-04-28T13:30:20.000+0000
I definitely like the test method name! :-)
Posted by Pádraic Brady (padraic) on 2010-04-29T04:31:46.000+0000
Well, it was a silly thing to forget a test for ;).