diff --git a/commerce_bank_transfer.module b/commerce_bank_transfer.module
index bfcd91e..5e35e84 100644
--- a/commerce_bank_transfer.module
+++ b/commerce_bank_transfer.module
@@ -193,31 +193,31 @@ function commerce_bank_transfer_transaction($payment_method, $order, $charge) {
  * $oid = order ID
  */
 function commerce_bank_transfer_bank_details($oid, $pm) {
-  if ($pm['settings']['details']['account_owner'] <> '') {
+  if (!empty($pm['settings']['details']['account_owner'])) {
     $bank_info[] = t('Account owner') . ': ' . $pm['settings']['details']['account_owner'];
   }
-  if ($pm['settings']['details']['account_number'] <> '') {
+  if (!empty($pm['settings']['details']['account_number'])) {
     $bank_info[] = t('Account number') . ': ' . $pm['settings']['details']['account_number'];
   }
-  if ($pm['settings']['details']['account_iban'] <> '') {
+  if (!empty($pm['settings']['details']['account_iban'])) {
     $bank_info[] = t('IBAN') . ': ' . $pm['settings']['details']['account_iban'];
   }
-  if ($pm['settings']['details']['bank_code'] <> '') {
+  if (!empty($pm['settings']['details']['bank_code'])) {
     $bank_info[] = $pm['settings']['details']['bank_code_appellation'] . ': ' . $pm['settings']['details']['bank_code'];
   }
-  if ($pm['settings']['details']['account_swift'] <> '') {
+  if (!empty($pm['settings']['details']['account_swift'])) {
     $bank_info[] = t('SWIFT') . ': ' . $pm['settings']['details']['account_swift'];
   }
-  if ($pm['settings']['details']['account_bank'] <> '') {
+  if (!empty($pm['settings']['details']['account_bank'])) {
     $bank_info[] = t('Banking institution') . ': ' . $pm['settings']['details']['account_bank'];
   }
-  if ($pm['settings']['details']['account_branch'] <> '') {
+  if (!empty($pm['settings']['details']['account_branch'])) {
     $bank_info[] = t('Branch office') . ': ' . $pm['settings']['details']['account_branch'];
   }
-  if ($pm['settings']['subject_oid']) {
+  if (!empty($pm['settings']['subject_oid'])) {
     isset($bank_info) ? ($bank_info[] = '<br />' . t('Reason for payment') . ': ' . t('order number') . ' ' . $oid) : ($bank_info[] = t('Reason for payment') . ': ' . t('order number') . ' ' . $oid);
   }
-  if ($pm['settings']['policy'] <> '') {
+  if (!empty($pm['settings']['policy'])) {
     isset($bank_info) ? ($bank_info[] = '<br />' . $pm['settings']['policy']) : ($bank_info[] = $pm['settings']['policy']);
   }
 
