mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
more precise check for available task
This commit is contained in:
parent
9eae07fae9
commit
b14326e1ad
|
@ -324,7 +324,7 @@ $(document).ready( function() {
|
|||
print "<th></th>\n";
|
||||
print "</tr></thead><tbody>\n";
|
||||
foreach($tasks as $task) {
|
||||
if(!isset($GLOBALS['SEEDDMS_SCHEDULER']['tasks'][$task->getExtension()]))
|
||||
if(!isset($GLOBALS['SEEDDMS_SCHEDULER']['tasks'][$task->getExtension()][$task->getTask()]))
|
||||
$class = 'error';
|
||||
else
|
||||
$class = 'success';
|
||||
|
|
Loading…
Reference in New Issue
Block a user