Skip to content
Snippets Groups Projects
Commit ac1f7771 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Issue #3302292 by jurgenhaas, rkoller: Do not show success message when trying...

Issue #3302292 by jurgenhaas, rkoller: Do not show success message when trying to save a model that contains errors
parent 91b49928
No related branches found
Tags 7.x-2.3
No related merge requests found
......@@ -183,7 +183,7 @@ class Modellers {
->set('conditions', [])
->set('actions', []);
$modeller->readComponents($config);
if (!$modeller->hasError()) {
if ($modeller->hasError()) {
// If the model contains error(s), don't save it and do not ask for a
// page relead, because that would cause data loss.
return FALSE;
......
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