/** * check if db field can be null * for multilingual fields it checks only the base fields as they may be * coming from outer join views, so oxbase would return that they always * support null (while in reality updates to their lang set table with null * would fail) * * @param string $sFieldName db field name * * @return bool */ protected function _canFieldBeNull($sFieldName) { $sFieldName = preg_replace('/_\\d{1,2}$/', '', $sFieldName); return parent::_canFieldBeNull($sFieldName); }