forked from Wavyzz/dolibarr
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
This commit is contained in:
@@ -1954,12 +1954,8 @@ if (empty($reshook)) {
|
||||
}
|
||||
}
|
||||
|
||||
// add lines from objectlinked
|
||||
if (
|
||||
$action == 'import_lines_from_object'
|
||||
&& $usercancreate
|
||||
&& $object->status == Commande::STATUS_DRAFT
|
||||
) {
|
||||
// Add lines from objectlinked
|
||||
if ($action == 'import_lines_from_object' && $usercancreate && $object->status == Commande::STATUS_DRAFT) {
|
||||
$fromElement = GETPOST('fromelement');
|
||||
$fromElementid = GETPOST('fromelementid');
|
||||
$importLines = GETPOST('line_checkbox');
|
||||
|
||||
Reference in New Issue
Block a user