Update commonobject.class.php
$objecttype == 'order_supplier' already tested on the previous else if
This commit is contained in:
parent
0b0c9326b9
commit
8c8c641411
@ -1827,9 +1827,6 @@ abstract class CommonObject
|
|||||||
else if ($objecttype == 'invoice_supplier' || $objecttype == 'order_supplier') {
|
else if ($objecttype == 'invoice_supplier' || $objecttype == 'order_supplier') {
|
||||||
$classpath = 'fourn/class'; $module = 'fournisseur';
|
$classpath = 'fourn/class'; $module = 'fournisseur';
|
||||||
}
|
}
|
||||||
else if ($objecttype == 'order_supplier') {
|
|
||||||
$classpath = 'fourn/class';
|
|
||||||
}
|
|
||||||
else if ($objecttype == 'fichinter') {
|
else if ($objecttype == 'fichinter') {
|
||||||
$classpath = 'fichinter/class'; $subelement = 'fichinter'; $module = 'ficheinter';
|
$classpath = 'fichinter/class'; $subelement = 'fichinter'; $module = 'ficheinter';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user