Qual: Removed unused variable
This commit is contained in:
parent
1757c9d45e
commit
9960e5aa8f
@ -1721,7 +1721,7 @@ abstract class CommonObject
|
|||||||
* @param string $clause OR, AND clause
|
* @param string $clause OR, AND clause
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function fetchObjectLinked($sourceid='',$sourcetype='',$targetid='',$targettype='',$clause='OR')
|
function fetchObjectLinked($sourceid='',$sourcetype='',$targetid='',$targettype='',$clause='OR')
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
|
|||||||
@ -391,7 +391,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fetch info for linked propal
|
// Fetch info for linked propal
|
||||||
$linked_propal = $object->fetchObjectLinked('','','','');
|
$object->fetchObjectLinked('','','','');
|
||||||
//print_r($object->linkedObjects['propal']); exit;
|
//print_r($object->linkedObjects['propal']); exit;
|
||||||
|
|
||||||
$propal_object = $object->linkedObjects['propal'][0];
|
$propal_object = $object->linkedObjects['propal'][0];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user