diff options
Diffstat (limited to 'modules/mod_recent_posts.php')
| -rwxr-xr-x | modules/mod_recent_posts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_recent_posts.php b/modules/mod_recent_posts.php index 99af120..921f144 100755 --- a/modules/mod_recent_posts.php +++ b/modules/mod_recent_posts.php @@ -21,7 +21,7 @@ if( !empty( $moduleParams ) ) { extract( $moduleParams ); } -$listHash = array( 'user_id' => $gQueryUserId, 'sort_mode' => 'created_desc' ); +$listHash = [ 'user_id' => $gQueryUserId, 'sort_mode' => 'created_desc' ]; if( !empty( $moduleParams['module_rows'] ) ) { $listHash['max_records'] = $moduleParams['module_rows']; |
