AlexAv/sugarcrm_dev — comment on commit ba71e0eabe04619613d08098b9927ae6bbac8f5c
File:  line 0
By AlexAv:

You are definitely right the correct PHP code is
if(!empty($salutation) && strpos($field_value, $salutation) === 0)