We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210ec3e commit f0138a3Copy full SHA for f0138a3
app/code/core/Mage/Adminhtml/Helper/Dashboard/Data.php
@@ -25,7 +25,7 @@ class Mage_Adminhtml_Helper_Dashboard_Data extends Mage_Core_Helper_Data
25
/**
26
* Retrieve stores configured in system.
27
*
28
- * @return array
+ * @return Mage_Core_Model_Resource_Store_Collection
29
*/
30
public function getStores()
31
{
@@ -43,7 +43,7 @@ public function getStores()
43
44
public function countStores()
45
46
- return count($this->_stores->getItems());
+ return count($this->getStores()->getItems());
47
}
48
49
0 commit comments