aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewfolder.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-20 15:06:16 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-20 15:06:16 +0000
commit3928e6195266f89017158445ae6cc43da43e975e (patch)
treeed579dd7951b389e57184938839c6ebf1ce340c3 /phpBB/includes/ucp/ucp_pm_viewfolder.php
parentedc5061f1df0fd3ce6f307b91f309a52e037cf73 (diff)
downloadforums-3928e6195266f89017158445ae6cc43da43e975e.tar
forums-3928e6195266f89017158445ae6cc43da43e975e.tar.gz
forums-3928e6195266f89017158445ae6cc43da43e975e.tar.bz2
forums-3928e6195266f89017158445ae6cc43da43e975e.tar.xz
forums-3928e6195266f89017158445ae6cc43da43e975e.zip
Fix r10035
[ Sort private messages by message time and not message id. (Bug #50015) ] git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10037 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewfolder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php
index 11e7f5e7e8..43b12a59e6 100644
--- a/phpBB/includes/ucp/ucp_pm_viewfolder.php
+++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php
@@ -462,7 +462,7 @@ function get_pm_from($folder_id, $folder, $user_id)
}
// Select the sort order
- $directioin = ($sort_dir == 'd') ? 'ASC' : 'DESC';
+ $direction = ($sort_dir == 'd') ? 'ASC' : 'DESC';
$sql_start = max(0, $pm_count - $sql_limit - $start);
}
else