Fix scrutinizer
This commit is contained in:
parent
32ce7322c4
commit
6936d56946
@ -809,12 +809,12 @@ class ActionsTicketsup
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return -1;
|
||||
setEventMessages($this->dao->error, $this->dao->errors, 'errors');
|
||||
return -1;
|
||||
}
|
||||
} else {
|
||||
return -1;
|
||||
setEventMessages($this->error, $this->errors, 'errors');
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1485,7 +1485,7 @@ class ActionsTicketsup
|
||||
|
||||
// If status is new, don't show link which allow mark ticket as read
|
||||
// Specific method exists to mark a ticket as read
|
||||
if ($this->dao->fk_statut === '0') {
|
||||
if ($this->dao->fk_statut == '0') {
|
||||
$exclude_status = array_merge($exclude_status, array(1));
|
||||
}
|
||||
|
||||
|
||||
@ -28,8 +28,6 @@ require_once DOL_DOCUMENT_ROOT.'/main.inc.php';
|
||||
*/
|
||||
class DictionaryTicketsupCategories extends DolibarrApi
|
||||
{
|
||||
private $translations = null;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
@ -96,5 +94,5 @@ class DictionaryTicketsupCategories extends DolibarrApi
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -28,8 +28,6 @@ require_once DOL_DOCUMENT_ROOT.'/main.inc.php';
|
||||
*/
|
||||
class DictionaryTicketsupSeverities extends DolibarrApi
|
||||
{
|
||||
private $translations = null;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
@ -96,5 +94,5 @@ class DictionaryTicketsupSeverities extends DolibarrApi
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -28,8 +28,6 @@ require_once DOL_DOCUMENT_ROOT.'/main.inc.php';
|
||||
*/
|
||||
class DictionaryTicketsupTypes extends DolibarrApi
|
||||
{
|
||||
private $translations = null;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
@ -98,5 +96,5 @@ class DictionaryTicketsupTypes extends DolibarrApi
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user