projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM_Utils_Array::value() -> empty()
[civicrm-core.git]
/
CRM
/
Grant
/
Task.php
diff --git
a/CRM/Grant/Task.php
b/CRM/Grant/Task.php
index 725697034acbbf48b1e7ecfc53a989bb18a882c1..4778a933b67b7fa7524a337b5df9d52a4f15c22b 100644
(file)
--- a/
CRM/Grant/Task.php
+++ b/
CRM/Grant/Task.php
@@
-120,7
+120,7
@@
class CRM_Grant_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;
}