Commit 19e52dc6 authored by Nathaniel Catchpole's avatar Nathaniel Catchpole
Browse files

Issue #2638182 by beejeebus, Mixologic: fix badly named variable in FeedForm

parent 6cbd448f
......@@ -21,9 +21,7 @@ class FeedForm extends ContentEntityForm {
public function save(array $form, FormStateInterface $form_state) {
$feed = $this->entity;
$insert = (bool) $feed->id();
if ($insert) {
if ($feed->save() == SAVED_UPDATED) {
drupal_set_message($this->t('The feed %feed has been updated.', array('%feed' => $feed->label())));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment