From 088d2c36f63a32b318caffd33e240b4d7496127f Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Wed, 12 Oct 2016 09:52:37 +1100 Subject: [PATCH] Fix string concatenation Signed-off-by: Madhura Jayaratne --- libraries/DisplayResults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/DisplayResults.php b/libraries/DisplayResults.php index 34f563f5f13e..e8cea12a987f 100644 --- a/libraries/DisplayResults.php +++ b/libraries/DisplayResults.php @@ -1077,12 +1077,12 @@ private function _getMoveForwardButtonsForTableNavigation( $maxRows = $_SESSION['tmpval']['max_rows']; $onsubmit = 'onsubmit="return ' - . ($_SESSION['tmpval']['pos'] + . (($_SESSION['tmpval']['pos'] + $maxRows < $this->__get('unlim_num_rows') && $this->__get('num_rows') >= $maxRows) ? 'true' - : 'false' . '"'; + : 'false') . '"'; // display the End button $buttons_html .= $this->_getTableNavigationButton(