Skip to content
Snippets Groups Projects
Commit a435a27a authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix wrong argument name

parent 4218708e
No related branches found
No related tags found
2 merge requests!13Feature remove sg news ajax plugin,!8Feature upgrade to9 lts
......@@ -54,7 +54,7 @@ class EditOnClickViewHelper extends AbstractViewHelper {
public function render(): string {
$table = $this->arguments['table'];
$uid = $this->arguments['uid'];
$new = $this->arguments['news'];
$new = $this->arguments['new'];
$type = $this->arguments['type'];
$additionalParameters = '';
if ($new && $table === 'pages' && in_array($type, ['news', 'category'], TRUE)) {
......
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