Skip to content

Commit

Permalink
Fix public
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 31, 2018
1 parent dfb20c7 commit e4cfc2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/modulebuilder/template/class/myobject.class.php
Expand Up @@ -410,7 +410,7 @@ function getNomUrl($withpicto=0, $option='', $notooltip=0, $morecss='', $save_la
* @param int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto
* @return string Label of status
*/
function getLibStatut($mode=0)
public function getLibStatut($mode=0)
{
return $this->LibStatut($this->status, $mode);
}
Expand All @@ -423,7 +423,7 @@ function getLibStatut($mode=0)
* @param int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto
* @return string Label of status
*/
function LibStatut($status, $mode=0)
public function LibStatut($status, $mode=0)
{
// phpcs:enable
if (empty($this->labelstatus))
Expand Down Expand Up @@ -475,7 +475,7 @@ function LibStatut($status, $mode=0)
* @param int $id Id of order
* @return void
*/
function info($id)
public function info($id)
{
$sql = 'SELECT rowid, date_creation as datec, tms as datem,';
$sql.= ' fk_user_creat, fk_user_modif';
Expand Down

0 comments on commit e4cfc2c

Please sign in to comment.