projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #16877 from agileware/CIVICRM-1457
[civicrm-core.git]
/
CRM
/
Case
/
Task.php
diff --git
a/CRM/Case/Task.php
b/CRM/Case/Task.php
index 9823a1b0e30731790ed888d88b7e171559338536..fc20a8d5e32a4089894ff6968ffd7394d873f8a9 100644
(file)
--- a/
CRM/Case/Task.php
+++ b/
CRM/Case/Task.php
@@
-132,7
+132,7
@@
class CRM_Case_Task extends CRM_Core_Task {
*/
public static function getTask($value) {
self::tasks();
- if (!$value ||
!CRM_Utils_Array::value($value, self::$_tasks
)) {
+ if (!$value ||
empty(self::$_tasks[$value]
)) {
// make the print task by default
$value = self::TASK_PRINT;
}