ZF-2049: incorrect constant name used in Zend_Gdata_YouTube_VideoQuery

Description

VideoQuery.php:70 uses Zend_Gdata_YouTube::STANDARD_RECENTLY_FEATURED instead of Zend_Gdata_YouTube::STANDARD_RECENTLY_FEATURED_URI

Problem reported by groups user: "I am quering the recently featured video feed and am getting a Fatal Error. My code is below

$yt = new Zend_Gdata_YouTube(); $query = $yt->newVideoQuery(); $query->setTime('today'); $videoFeed = $yt->getRecentlyFeaturedVideoFeed($query);

Fatal error: Undefined class constant 'STANDARD_RECENTLY_FEATURED' in / library/Zend/Gdata/YouTube/VideoQuery.php on line 70"

Comments

No comments to display