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

Patch as described in report.

Resolved in r22031. This is what you get for missing the odd test or two ;).

I definitely like the test method name! :-)

Well, it was a silly thing to forget a test for ;).