Skip to content

Commit

Permalink
Initialize return variable to avoid warning in case no customer ids w…
Browse files Browse the repository at this point in the history
…here passed to method
  • Loading branch information
Vinai committed Aug 23, 2014
1 parent b7d2b7b commit 2e8961d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ protected function _construct()
public function massSetActivationStatus(array $customerIds, $value)
{
$customerIds = $this->_getValidCustomerIds($customerIds);
$changeIds = array();
if ($customerIds) {
$attribute = $this->getAttribute('customer_activated');
$table = $attribute->getBackend()->getTable();
Expand Down

0 comments on commit 2e8961d

Please sign in to comment.