Index: branches/5.3.x/core/units/helpers/country_states_helper.php =================================================================== diff -u -N -r16195 -r16391 --- branches/5.3.x/core/units/helpers/country_states_helper.php (.../country_states_helper.php) (revision 16195) +++ branches/5.3.x/core/units/helpers/country_states_helper.php (.../country_states_helper.php) (revision 16391) @@ -1,6 +1,6 @@ GetDBField($country_field); if ( !$country_iso ) { - return; - } + return; + } $field_options = $object->GetFieldOptions($state_field); $field_options['options'] = $this->getStates($country_iso); Index: branches/5.3.x/core/units/helpers/upload_helper.php =================================================================== diff -u -N -r16252 -r16391 --- branches/5.3.x/core/units/helpers/upload_helper.php (.../upload_helper.php) (revision 16252) +++ branches/5.3.x/core/units/helpers/upload_helper.php (.../upload_helper.php) (revision 16391) @@ -1,6 +1,6 @@ Application->HttpQuery->unescapeRequestVariable($value); + $value = $this->Application->unescapeRequestVariable($value); $tmp_path = WRITEABLE . '/tmp/'; $filename = $this->getUploadedFilename() . '.tmp';