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 #17026 from jitendrapurohit/dev-57
[civicrm-core.git]
/
CRM
/
Pledge
/
Task.php
diff --git
a/CRM/Pledge/Task.php
b/CRM/Pledge/Task.php
index 2e48bc430a5670db27ea49b1849c2aac2f71ed33..95b027a012cdecf6044353bf564a2d01bbe64fd7 100644
(file)
--- a/
CRM/Pledge/Task.php
+++ b/
CRM/Pledge/Task.php
@@
-105,7
+105,7
@@
class CRM_Pledge_Task extends CRM_Core_Task {
public static function getTask($value) {
self::tasks();
public static function getTask($value) {
self::tasks();
- if (
!CRM_Utils_Array::value($value, self::$_tasks
)) {
+ if (
empty(self::$_tasks[$value]
)) {
// make it the print task by default
$value = self::TASK_PRINT;
}
// make it the print task by default
$value = self::TASK_PRINT;
}