mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13142] Default $total to -1 before the event for more flexibility
PHPBB3-13142
This commit is contained in:
parent
df9331084b
commit
c37d5f9b7c
1 changed files with 3 additions and 0 deletions
|
@ -553,6 +553,9 @@ function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by
|
||||||
break;
|
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
|
* This event allows you to control the SQL query used to get the total number
|
||||||
* of reports the user can access.
|
* of reports the user can access.
|
||||||
|
|
Loading…
Add table
Reference in a new issue