From 846778657f27ad326c9bd7b99aa41c728162f648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 28 Aug 2018 08:43:35 +0200 Subject: [PATCH] fix syntax error --- .../class/accountingaccount.class.php | 24 ++++++++++++------- htdocs/comm/mailing/cibles.php | 2 ++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php index 65861951a55..980218ddab6 100644 --- a/htdocs/accountancy/class/accountingaccount.class.php +++ b/htdocs/accountancy/class/accountingaccount.class.php @@ -80,14 +80,22 @@ class AccountingAccount extends CommonObject var $account_parent; var $account_category; - /** - * @var string proper name for given parameter - */ - public $label; + /** + * @var string proper name for given parameter + */ + public $label; - var $fk_user_author; - var $fk_user_modif; - var $active; // duplicate with status + /** + * @var int ID + */ + public $fk_user_author; + + /** + * @var int ID + */ + public $fk_user_modif; + + var $active; // duplicate with status var $status; @@ -422,7 +430,7 @@ class AccountingAccount extends CommonObject * @param string $moretitle Add more text to title tooltip * @param int $notooltip 1=Disable tooltip * @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking - * @return string String with URL + * @return string String with URL */ function getNomUrl($withpicto = 0, $withlabel = 0, $nourl = 0, $moretitle='',$notooltip=0, $save_lastsearch_value=-1) { diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 13d72acb3d7..7b01c1c5a22 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -326,6 +326,8 @@ if ($object->fetch($id) >= 0) } // Si le module mailing est qualifie + if ($qualified) + { if ($allowaddtarget) { print '
';