Skip to content

Commit

Permalink
Merge branch 'dev_santisp'
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiagoebizmarts committed Feb 22, 2017
2 parents c057979 + 93cae75 commit 1e24a73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public function render(Varien_Object $row)
$subscriberFirstName = $row->getData('subscriber_firstname');
$customerFirstName = $row->getData('customer_firstname');
if ($customerFirstName) {
return $customerFirstName;
return $this->escapeHtml($customerFirstName);
} elseif ($subscriberFirstName) {
return $subscriberFirstName;
return $this->escapeHtml($subscriberFirstName);
} else {
return '----';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public function render(Varien_Object $row)
$subscriberLastName = $row->getData('subscriber_lastname');
$customerLastName = $row->getData('customer_lastname');
if ($customerLastName) {
return $customerLastName;
return $this->escapeHtml($customerLastName);
} elseif ($subscriberLastName) {
return $subscriberLastName;
return $this->escapeHtml($subscriberLastName);
} else {
return '----';
}
Expand Down
4 changes: 1 addition & 3 deletions lib/Mandrill/Mandrill/Exceptions.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php
// This is an external library.
// @codingStandardsIgnoreStart

class Mandrill_Error extends Exception
{
}
Expand Down Expand Up @@ -211,5 +210,4 @@ class Mandrill_Metadata_FieldLimit extends Mandrill_Error
class Mandrill_Unknown_MetadataField extends Mandrill_Error
{
}
// @codingStandardsIgnoreEnd

0 comments on commit 1e24a73

Please sign in to comment.