Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.7.1
-
Fix Version/s: 1.8.1
-
Component/s: Zend_Gdata
-
Labels:None
-
Tags:
Description
On a Gdata feed getTotalResults returns an object not an integer as the documentation suggests.
It is possible I am making an error of some sort, but this seems to be a pretty big problem.
Example code is as follows:
$resultsNum = $feed->getTotalResults();
echo gettype($resultNum);
This returns "object" rather than the expected "integer"
Thanks.
I correct the component from Zend_Feed to Zend_Gdata and auto re-assign.
Because Zend_Gdata_Feed has this issue , not in Zend_Feed.