diff options
| author | spiderr <spider@viovio.com> | 2011-05-25 11:04:41 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-05-25 11:04:41 -0400 |
| commit | 81e598f11e0ce51cb97a2d87fc7f79ddeae05d3f (patch) | |
| tree | d930a6b9b2094f9a5ac40955fb4e9953d00499bd | |
| parent | 5ad6c0f96730e272bb71d8b4f3b79b8044dd1da0 (diff) | |
| download | tags-81e598f11e0ce51cb97a2d87fc7f79ddeae05d3f.tar.gz tags-81e598f11e0ce51cb97a2d87fc7f79ddeae05d3f.tar.bz2 tags-81e598f11e0ce51cb97a2d87fc7f79ddeae05d3f.zip | |
empty check on pParamHash[sort_mode]
| -rw-r--r-- | LibertyTag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibertyTag.php b/LibertyTag.php index 3f46e66..aea2f4e 100644 --- a/LibertyTag.php +++ b/LibertyTag.php @@ -444,7 +444,7 @@ class LibertyTag extends LibertyBase { 'created_desc', ); - if( empty( $pParamHash['sort_mode'] ) || !in_array( $pParamHash['sort_mode'], $sortHash ) ) { + if( empty( $pParamHash['sort_mode'] ) || in_array( $pParamHash['sort_mode'], $sortHash ) ) { $pParamHash['sort_mode'] = 'tag_asc'; } |
