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 #18200 from seamuslee001/5.29
[civicrm-core.git]
/
CRM
/
Event
/
Task.php
diff --git
a/CRM/Event/Task.php
b/CRM/Event/Task.php
index 64ced68750902a0950c852ab4f689cbcb506dd81..24e2bd6b2620255c8ffebe1d5e78dda09b0ee3c5 100644
(file)
--- a/
CRM/Event/Task.php
+++ b/
CRM/Event/Task.php
@@
-12,7
+12,6
@@
/**
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
/**
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
- *
*/
/**
*/
/**
@@
-177,7
+176,7
@@
class CRM_Event_Task extends CRM_Core_Task {
*/
public static function getTask($value) {
self::tasks();
*/
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;
}
// make the print task by default
$value = self::TASK_PRINT;
}