From d8d6c1aedf60293903ec89729b5da96e9aa6c0ec Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 17 Dec 2014 12:11:56 -0500
Subject: [PATCH] Minor simplification.

---
 module/VuFind/src/VuFind/ILS/Driver/Symphony.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/Symphony.php b/module/VuFind/src/VuFind/ILS/Driver/Symphony.php
index e7d0ecb83c1..a86e5d8341d 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Symphony.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Symphony.php
@@ -1241,9 +1241,9 @@ class Symphony extends AbstractBase
                     $transactions;
 
                 foreach ($transactions as $transaction) {
-                    if (!empty($transaction->unseenRenewalsRemaining)) {
-                        $renewable = true;
-                    } elseif (!empty($transaction->unseenRenewalsRemainingUnlimited)) {
+                    if (!empty($transaction->unseenRenewalsRemaining)
+                        || !empty($transaction->unseenRenewalsRemainingUnlimited)
+                    ) {
                         $renewable = true;
                     } else {
                         $renewable = false;
-- 
GitLab