Update societe.class.php
This commit is contained in:
parent
0ba308a9a5
commit
c3174e4551
@ -1810,7 +1810,7 @@ class Societe extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function getNomUrl($withpicto=0, $option='', $maxlen=0, $notooltip=0)
|
function getNomUrl($withpicto=0, $option='', $maxlen=0, $notooltip=0)
|
||||||
{
|
{
|
||||||
global $conf,$langs;
|
global $conf,$langs, $hookmanager;
|
||||||
|
|
||||||
$name=$this->name?$this->name:$this->nom;
|
$name=$this->name?$this->name:$this->nom;
|
||||||
|
|
||||||
@ -1898,6 +1898,7 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
// Add type of canvas
|
// Add type of canvas
|
||||||
$link.=(!empty($this->canvas)?'&canvas='.$this->canvas:'').'"';
|
$link.=(!empty($this->canvas)?'&canvas='.$this->canvas:'').'"';
|
||||||
|
$linkclose='';
|
||||||
if (empty($notooltip))
|
if (empty($notooltip))
|
||||||
{
|
{
|
||||||
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user