projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed warnings
[civicrm-core.git]
/
CRM
/
Contact
/
Task.php
diff --git
a/CRM/Contact/Task.php
b/CRM/Contact/Task.php
index edc579a5c185c90ee999133fe6c0e2a8e711298d..e4cac5e8627ed75e5e61706027d7fab33e2c4814 100644
(file)
--- a/
CRM/Contact/Task.php
+++ b/
CRM/Contact/Task.php
@@
-311,7
+311,7
@@
class CRM_Contact_Task extends CRM_Core_Task {
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;
}