Skip to content

Commit

Permalink
Return parent method value (#23048)
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ authored and laoneo committed Nov 12, 2018
1 parent d68f6ad commit ffed2a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function save($key = null, $urlVar = null)
\JForm::addFormPath(JPATH_ADMINISTRATOR . '/components/com_modules/models/forms');
}

parent::save($key, $urlVar);
return parent::save($key, $urlVar);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ public function save($key = null, $urlVar = null)

return true;
}
else
{
parent::save($key, $urlVar);
}

return parent::save($key, $urlVar);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,6 @@ public function save($key = null, $urlVar = null)
$this->input->post->set('jform', $data);
}

parent::save($key, $urlVar);
return parent::save($key, $urlVar);
}
}

0 comments on commit ffed2a2

Please sign in to comment.