diff --git a/src/Resources/contao/drivers/DC_File.php b/src/Resources/contao/drivers/DC_File.php index 0defe37b3d..4d89c1ad28 100644 --- a/src/Resources/contao/drivers/DC_File.php +++ b/src/Resources/contao/drivers/DC_File.php @@ -299,7 +299,7 @@ public function edit() '; // Begin the form (-> DO NOT CHANGE THIS ORDER -> this way the onsubmit attribute of the form can be changed by a field) - $return = ((Environment::get('requestMethod') !== 'POST') ? Message::generate() : '') . ($this->noReload ? ' + $return = Message::generate() . ($this->noReload ? '
'.$GLOBALS['TL_LANG']['ERR']['general'].'
' : '') . '