diff options
| author | spiderr <spiderr@bitweaver.org> | 2020-12-15 13:54:43 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2020-12-15 13:54:43 -0500 |
| commit | ef4961a419d1cf5907bc7e26c82bae9282b6d40b (patch) | |
| tree | db782aebfd35045f75cd92cc5ceeae684dc8576a | |
| parent | 599289ca99d7772b4980da7290646acb8d4605ad (diff) | |
| download | themes-ef4961a419d1cf5907bc7e26c82bae9282b6d40b.tar.gz themes-ef4961a419d1cf5907bc7e26c82bae9282b6d40b.tar.bz2 themes-ef4961a419d1cf5907bc7e26c82bae9282b6d40b.zip | |
Deprecated: Unparenthesized
| -rw-r--r-- | smartyplugins/function.smartlink.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smartyplugins/function.smartlink.php b/smartyplugins/function.smartlink.php index 4a34257..db8ae79 100644 --- a/smartyplugins/function.smartlink.php +++ b/smartyplugins/function.smartlink.php @@ -91,7 +91,7 @@ function smarty_function_smartlink( $pParams, &$pSmarty=NULL ) { // if isort is set, we need to deal with all the sorting stuff if( !empty( $hash['isort'] ) ) { - $isort_mode = isset( $hash['isort_mode'] ) ? $hash['isort_mode'] : isset( $_REQUEST['sort_mode'] ) ? $_REQUEST['sort_mode'] : NULL ; + $isort_mode = isset( $hash['isort_mode'] ) ? $hash['isort_mode'] : (isset( $_REQUEST['sort_mode'] ) ? $_REQUEST['sort_mode'] : NULL); $sort_asc = $hash['isort'].'_asc'; $sort_desc = $hash['isort'].'_desc'; |
