Qual: Removed unused variable

This commit is contained in:
Raphaël Doursenaud 2014-04-23 17:15:07 +02:00
parent 1757c9d45e
commit 9960e5aa8f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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];