ci
This commit is contained in:
parent
99e364ccdd
commit
e6f5ed96fc
2 changed files with 2 additions and 3 deletions
|
|
@ -114,7 +114,7 @@ if (empty($massaction)) {
|
|||
|
||||
/** @var string[] $TMsg */
|
||||
$TMsg = array();
|
||||
|
||||
$error =24;
|
||||
// For backward compatibility
|
||||
if (!empty($permtoread) && empty($permissiontoread)) {
|
||||
$permissiontoread = $permtoread;
|
||||
|
|
|
|||
|
|
@ -251,9 +251,8 @@ if (empty($reshook)) {
|
|||
$objectlabel = 'Ticket';
|
||||
$uploaddir = $conf->ticket->dir_output;
|
||||
|
||||
global $error;
|
||||
/** @phan-var-force int $error */
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||
/** @phan-var-force int $error */
|
||||
|
||||
// Close records
|
||||
if (!$error && $massaction == 'close' && $permissiontoadd) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue