Skip to content

Commit f0138a3

Browse files
committed
1 parent 210ec3e commit f0138a3

File tree

1 file changed

+2
-2
lines changed
  • app/code/core/Mage/Adminhtml/Helper/Dashboard

1 file changed

+2
-2
lines changed

app/code/core/Mage/Adminhtml/Helper/Dashboard/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Mage_Adminhtml_Helper_Dashboard_Data extends Mage_Core_Helper_Data
2525
/**
2626
* Retrieve stores configured in system.
2727
*
28-
* @return array
28+
* @return Mage_Core_Model_Resource_Store_Collection
2929
*/
3030
public function getStores()
3131
{
@@ -43,7 +43,7 @@ public function getStores()
4343
*/
4444
public function countStores()
4545
{
46-
return count($this->_stores->getItems());
46+
return count($this->getStores()->getItems());
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)