• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/activity/operator/baseoperator.php
  • Класс: BitrixBizprocActivityOperatorBaseOperator
  • Вызов: BaseOperator::normalizeZeroComparing
protected function normalizeZeroComparing($value, $field): array
{
	if ($value === '' && ($field === '0' || $field === 0.0))
	{
		return [null, null];
	}

	if (($value === '0' || $value === 0.0) && $field === '')
	{
		return [null, null];
	}

	return [$value, $field];
}