Fix: [ bug #256 ] Delivery order SQL error
This commit is contained in:
parent
7a106a3fb9
commit
4fd76605e4
@ -50,9 +50,10 @@ else if ($_GET["action"] == 'disable_sending')
|
|||||||
}
|
}
|
||||||
else if ($_GET["action"] == 'activate_delivery')
|
else if ($_GET["action"] == 'activate_delivery')
|
||||||
{
|
{
|
||||||
dolibarr_set_const($db, "MAIN_SUBMODULE_LIVRAISON", "1",'chaine',0,'',$conf->entity);
|
dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", "1",'chaine',0,'',$conf->entity); // We must also enable this
|
||||||
Header("Location: confexped.php");
|
dolibarr_set_const($db, "MAIN_SUBMODULE_LIVRAISON", "1",'chaine',0,'',$conf->entity);
|
||||||
exit;
|
Header("Location: confexped.php");
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
else if ($_GET["action"] == 'disable_delivery')
|
else if ($_GET["action"] == 'disable_delivery')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user