Skip to content

Commit

Permalink
removing Pow as it causes some php issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aanunez committed Mar 14, 2024
1 parent d60696c commit c9fb4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReportTweaks.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ReportTweaks extends AbstractExternalModule

private $jsGlobal = "";
private $defaultSettings = ['includeEvent' => true];
private $max_json_len = floor(pow(2, 16) * 0.99); // 99% of 64kb
private $maxJsonLen = (2 << 16) - (2 << 10); // 99% of 64kb

/*
Primary Redcap Hook, loads config and Report pages
Expand Down

0 comments on commit c9fb4b8

Please sign in to comment.