Skip to content

Commit

Permalink
Formally declare arrays to add support for older PHP versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpheasey committed Apr 22, 2015
1 parent ca0ba52 commit 780fa67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/code/community/Gemgento/Push/Model/Email/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ private function gemgentoSend($emails, $names, $vars){
$data = array(
'recipients' => array(
'to' => Mage::helper('gemgento_push/email_template')->recipientStrings($emails, $names),
'cc' => [],
'bcc' => []
'cc' => array(),
'bcc' => array()
),
'sender' => "\"{$this->getSenderName()}\" <{$this->getSenderEmail()}>"
);
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/Gemgento/Push/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<Gemgento_Push>
<version>0.0.2</version>
<version>0.0.3</version>
</Gemgento_Push>
</modules>
<global>
Expand Down

0 comments on commit 780fa67

Please sign in to comment.