rtd_location_id == '0') { \Log::debug('Manually override the RTD location IDs'); \Log::debug('Original RTD Location ID: ' . $asset->rtd_location_id); $asset->rtd_location_id = ''; \Log::debug('New RTD Location ID: ' . $asset->rtd_location_id); } if ($asset->location_id == '0') { \Log::debug('Manually override the location IDs'); \Log::debug('Original Location ID: ' . $asset->location_id); $asset->location_id = ''; \Log::debug('New Location ID: ' . $asset->location_id); } } }