From 9960e5aa8f63a175faa18793cf4226c4da8e41a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= <rdoursenaud@gpcsolutions.fr> Date: Wed, 23 Apr 2014 17:15:07 +0200 Subject: [PATCH] Qual: Removed unused variable --- htdocs/core/class/commonobject.class.php | 2 +- .../modules/facture/doc/doc_generic_invoice_odt.modules.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 838894fc851..004153e2fdc 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1721,7 +1721,7 @@ abstract class CommonObject * @param string $clause OR, AND clause * @return void */ - function fetchObjectLinked($sourceid='',$sourcetype='',$targetid='',$targettype='',$clause='OR') + function fetchObjectLinked($sourceid='',$sourcetype='',$targetid='',$targettype='',$clause='OR') { global $conf; diff --git a/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php b/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php index 559cc794ac7..3651d106951 100644 --- a/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php +++ b/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php @@ -391,7 +391,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures } // Fetch info for linked propal - $linked_propal = $object->fetchObjectLinked('','','',''); + $object->fetchObjectLinked('','','',''); //print_r($object->linkedObjects['propal']); exit; $propal_object = $object->linkedObjects['propal'][0]; -- GitLab