This code conditionally adds the field is_required to the array that already
contains the field is_required
* @param int $setID
* Price Set ID.
* @param bool $required
- * Appears to have no effect based on reading the code.
+ * Deprecated.
* @param bool $doNotIncludeExpiredFields
* Should only fields where today's date falls within the valid range be returned?
*
'visibility_id',
'is_required',
];
- if ($required == TRUE) {
- $priceFields[] = 'is_required';
- }
// create select
$select = 'SELECT ' . implode(',', $priceFields);