Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
19e52dc6
Commit
19e52dc6
authored
Jan 11, 2016
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2638182
by beejeebus, Mixologic: fix badly named variable in FeedForm
parent
6cbd448f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
core/modules/aggregator/src/FeedForm.php
core/modules/aggregator/src/FeedForm.php
+1
-3
No files found.
core/modules/aggregator/src/FeedForm.php
View file @
19e52dc6
...
...
@@ -21,9 +21,7 @@ class FeedForm extends ContentEntityForm {
*/
public
function
save
(
array
$form
,
FormStateInterface
$form_state
)
{
$feed
=
$this
->
entity
;
$insert
=
(
bool
)
$feed
->
id
();
$feed
->
save
();
if
(
$insert
)
{
if
(
$feed
->
save
()
==
SAVED_UPDATED
)
{
drupal_set_message
(
$this
->
t
(
'The feed %feed has been updated.'
,
array
(
'%feed'
=>
$feed
->
label
())));
$form_state
->
setRedirectUrl
(
$feed
->
urlInfo
(
'canonical'
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment