mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/13142] Default $total to -1 before the event for more flexibility
PHPBB3-13142
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user