mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
#10321 removed token in limit sql
This commit is contained in:
parent
5927687ad3
commit
00b3564d5f
@ -324,11 +324,9 @@ if (is_ajax() === true) {
|
|||||||
$start = get_parameter('start', 0);
|
$start = get_parameter('start', 0);
|
||||||
$length = get_parameter(
|
$length = get_parameter(
|
||||||
'length',
|
'length',
|
||||||
$config['events_per_query']
|
$config['block_size']
|
||||||
);
|
);
|
||||||
|
|
||||||
$length = ($length === '-1') ? $config['events_per_query'] : $length;
|
|
||||||
|
|
||||||
if ($get_events !== 0) {
|
if ($get_events !== 0) {
|
||||||
try {
|
try {
|
||||||
ob_start();
|
ob_start();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user