From 699d69d23d4a75ec71597e541511ebebce904702 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 16 Nov 2010 19:39:43 +0100 Subject: [PATCH] LSsearch :: getSortTable() : Fixed notice PHP --- public_html/includes/class/class.LSsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSsearch.php b/public_html/includes/class/class.LSsearch.php index b9544006..2e7c9986 100644 --- a/public_html/includes/class/class.LSsearch.php +++ b/public_html/includes/class/class.LSsearch.php @@ -1104,7 +1104,7 @@ class LSsearch { * @retval array The Table of id lines of results sorted **/ function getSortTable() { - if ($this -> result['sort'][$this -> params['sortBy']][$this -> params['sortDirection']]) { + if (isset($this -> result['sort'][$this -> params['sortBy']][$this -> params['sortDirection']])) { return $this -> result['sort'][$this -> params['sortBy']][$this -> params['sortDirection']]; } return range(0,($this -> total-1));