mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
versandarten removed check if module is empty
This commit is contained in:
parent
e474014b8c
commit
1fe0aea620
@ -169,8 +169,8 @@ class Versandarten {
|
|||||||
if($submit != '') { // handle form submit
|
if($submit != '') { // handle form submit
|
||||||
$form = $this->GetInput();
|
$form = $this->GetInput();
|
||||||
$obj = $this->loadModule($form['modul'], $id);
|
$obj = $this->loadModule($form['modul'], $id);
|
||||||
if ($obj === null)
|
/* if ($obj === null)
|
||||||
$error[] = sprintf('Versandart "%s" existiert nicht.', $form['selmodul']);
|
$error[] = sprintf('Versandart "%s" existiert nicht.', $form['selmodul']); */
|
||||||
|
|
||||||
if(trim($form['bezeichnung']) == '')
|
if(trim($form['bezeichnung']) == '')
|
||||||
$error[] = 'Bitte eine Bezeichnung angeben!';
|
$error[] = 'Bitte eine Bezeichnung angeben!';
|
||||||
|
Loading…
Reference in New Issue
Block a user