Skip to content
Snippets Groups Projects
Commit 189297db authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Coder review fixes.

parent a0e8d36f
No related branches found
No related tags found
No related merge requests found
......@@ -781,7 +781,7 @@ function feeds_ui_mapping_form_submit($form, &$form_state) {
if (!empty($form_state['values']['remove_flags'])) {
$remove_flags = array_keys(array_filter($form_state['values']['remove_flags']));
foreach ($remove_flags as $k) {
unset($mappings[$k]);
unset($form_state['values']['mapping_weight'][$k]);
......@@ -830,7 +830,8 @@ function feeds_ui_mapping_settings_optional_unique_summary($mapping, $target, $f
if (!empty($target['optional_unique'])) {
if ($mapping['unique']) {
return t('Used as <strong>unique</strong>.');
} else {
}
else {
return t('Not used as unique.');
}
}
......
......@@ -308,7 +308,7 @@ class PuSHEnvironment implements PuSHSubscriberEnvironmentInterface {
* Implements PuSHSubscriberEnvironmentInterface::msg().
*/
public function msg($msg, $level = 'status') {
drupal_set_message($msg, $level);
drupal_set_message(check_plain($msg), $level);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment