mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSsearch :: getSortTable() : Fixed notice PHP
This commit is contained in:
parent
aa218fce3b
commit
699d69d23d
1 changed files with 1 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ class LSsearch {
|
||||||
* @retval array The Table of id lines of results sorted
|
* @retval array The Table of id lines of results sorted
|
||||||
**/
|
**/
|
||||||
function getSortTable() {
|
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 $this -> result['sort'][$this -> params['sortBy']][$this -> params['sortDirection']];
|
||||||
}
|
}
|
||||||
return range(0,($this -> total-1));
|
return range(0,($this -> total-1));
|
||||||
|
|
Loading…
Reference in a new issue