diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 36c54fc51b7..99bd144d727 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -228,7 +228,7 @@ class ActionComm extends CommonObject /** * Load object from database * - * @param int $id id de l'action a recuperer + * @param int $id Id of action to get * @return int <0 if KO, >0 if OK */ function fetch($id) @@ -236,8 +236,8 @@ class ActionComm extends CommonObject global $langs; $sql = "SELECT a.id,"; - $sql.= " a.id as ref"; - $sql.= " a.ref_ext"; + $sql.= " a.id as ref,"; + $sql.= " a.ref_ext,"; $sql.= " a.datep,"; $sql.= " a.datep2,"; $sql.= " a.datec,"; diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index c6f8bdc8c6f..f7bc56d26fe 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -579,7 +579,7 @@ if ($action == 'create') // Priority print '
| '.$langs->trans("Priority").' | '; - print ''; + print ''; print ' | ||
| '.$langs->trans("Priority").' | '; - print $act->priority; + print ($act->priority?$act->priority:''); print ' | ||