Fix default Customfields load excluded any cf with tab specified, then cached it for the instance

This commit is contained in:
nathan 2024-03-20 15:16:05 -06:00
parent 8b59c76150
commit f4cb19bea6

View File

@ -70,7 +70,7 @@ class Customfields implements \IteratorAggregate
* @param ?bool $tabs false: do NOT return cfs with explicit tab, true: only return cfs with explicit tab, null: return all
* @return array with customfields
*/
function __construct($app, $account=false, $only_type2=null, $start=0, $num_rows=null, Api\Db $db=null, bool $tabs=false)
function __construct($app, $account = false, $only_type2 = null, $start = 0, $num_rows = null, Api\Db $db = null, bool $tabs = null)
{
$this->app = $app;