diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index a930f5591..255692649 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -444,8 +444,8 @@ SELECT occured_on, details FROM '.ACTIVITY_TABLE.' - ORDER BY activity_id DESC -;'; + ORDER BY activity_id DESC LIMIT 100000 +;'; //Limited to 100k before implementing pagination in v.13 (issue #1595) $line_id = 0; $result = pwg_query($query);