Fix massaction on cron
This commit is contained in:
parent
d18c1ea0c0
commit
49f4de8728
@ -202,7 +202,7 @@ if (empty($reshook)) {
|
||||
$permissiontodelete = $user->rights->cron->delete;
|
||||
$uploaddir = $conf->cron->dir_output;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||
if ($permissiontoadd) {
|
||||
if ($massaction && $permissiontoadd) {
|
||||
$tmpcron = new Cronjob($db);
|
||||
foreach ($toselect as $id) {
|
||||
$result = $tmpcron->fetch($id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user