mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Return error message on category creation failure
This commit is contained in:
@@ -24,6 +24,7 @@ For users:
|
|||||||
- Fix: [ bug #1593 ] Spanish Localtax IRPF not being calculated since 3.6.0 in supplier invoices when adding a line
|
- Fix: [ bug #1593 ] Spanish Localtax IRPF not being calculated since 3.6.0 in supplier invoices when adding a line
|
||||||
- Fix: Web service categorie WDSL declaration is correct
|
- Fix: Web service categorie WDSL declaration is correct
|
||||||
- Fix: ErrorBadValueForParamNotAString was displayed in virtual product if no base price defined
|
- Fix: ErrorBadValueForParamNotAString was displayed in virtual product if no base price defined
|
||||||
|
- Fix: Category creation failed and no message output
|
||||||
|
|
||||||
***** ChangeLog for 3.6 compared to 3.5.* *****
|
***** ChangeLog for 3.6 compared to 3.5.* *****
|
||||||
For users:
|
For users:
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ if ($action == 'add' && $user->rights->categorie->creer)
|
|||||||
{
|
{
|
||||||
$action = 'confirmed';
|
$action = 'confirmed';
|
||||||
$_POST["addcat"] = '';
|
$_POST["addcat"] = '';
|
||||||
|
} else {
|
||||||
|
setEventMessage($object->error,'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user