diff options
author | brunoais <brunoaiss@gmail.com> | 2015-02-27 22:51:32 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-02-27 22:51:32 +0000 |
commit | c37d5f9b7c3c03a8f1dd4c130054caa922f8b34b (patch) | |
tree | eba71a065b2b9ac2bfdc081b5350097b1df98345 /phpBB/includes/functions_mcp.php | |
parent | df9331084bc84fd84ef8bc582db17f85ddc0a282 (diff) | |
download | forums-c37d5f9b7c3c03a8f1dd4c130054caa922f8b34b.tar forums-c37d5f9b7c3c03a8f1dd4c130054caa922f8b34b.tar.gz forums-c37d5f9b7c3c03a8f1dd4c130054caa922f8b34b.tar.bz2 forums-c37d5f9b7c3c03a8f1dd4c130054caa922f8b34b.tar.xz forums-c37d5f9b7c3c03a8f1dd4c130054caa922f8b34b.zip |
[ticket/13142] Default $total to -1 before the event for more flexibility
PHPBB3-13142
Diffstat (limited to 'phpBB/includes/functions_mcp.php')
-rw-r--r-- | phpBB/includes/functions_mcp.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions_mcp.php b/phpBB/includes/functions_mcp.php index 13c1299928..2780faa7fa 100644 --- a/phpBB/includes/functions_mcp.php +++ b/phpBB/includes/functions_mcp.php @@ -553,6 +553,9 @@ function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by break; } + // Default total to -1 to allow editing by the event + $total = -1; + /** * This event allows you to control the SQL query used to get the total number * of reports the user can access. |