From 8c8c641411f505f18427015b2c6184a1ff4a2772 Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Sun, 11 May 2014 23:19:18 +0200 Subject: [PATCH] Update commonobject.class.php $objecttype == 'order_supplier' already tested on the previous else if --- htdocs/core/class/commonobject.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index c2fb6d6d08d..c339a2c8ae1 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1827,9 +1827,6 @@ abstract class CommonObject else if ($objecttype == 'invoice_supplier' || $objecttype == 'order_supplier') { $classpath = 'fourn/class'; $module = 'fournisseur'; } - else if ($objecttype == 'order_supplier') { - $classpath = 'fourn/class'; - } else if ($objecttype == 'fichinter') { $classpath = 'fichinter/class'; $subelement = 'fichinter'; $module = 'ficheinter'; }