diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 7085f08be91..1a4c80db28d 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -2071,10 +2071,8 @@ class Adherent extends CommonObject if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER) && $withpictoimg) $withpictoimg=0; - $notooltip=0; - $result=''; $label=''; - $link=''; $linkstart=''; $linkend=''; + $linkstart=''; $linkend=''; if (! empty($this->photo)) { @@ -2107,7 +2105,7 @@ class Adherent extends CommonObject if ($add_save_lastsearch_values) $url.='&save_lastsearch_values=1'; } - $link = ''; + $linkstart.=$linkclose.'>'; $linkend=''; - $result.=$link; + $result.=$linkstart; if ($withpictoimg) $result.='
'; if ($withpictoimg) { diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php index d37c7d5f960..e3f4673d4ea 100644 --- a/htdocs/core/lib/project.lib.php +++ b/htdocs/core/lib/project.lib.php @@ -699,7 +699,7 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t // resume print ''; - if ($total_projectlinesa_planned){ + if ($total_projectlinesa_planned) { print ''; print '
'; print '
';