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 #13915 from colemanw/shortCRM
[civicrm-core.git]
/
CRM
/
Dashlet
/
Page
/
MyCases.php
diff --git
a/CRM/Dashlet/Page/MyCases.php
b/CRM/Dashlet/Page/MyCases.php
index 057c09ec9fec0262f013c49dd2fdc754d6bfcf2b..071102fa3b4430cf193c52cf6721ad82ed030b9b 100644
(file)
--- a/
CRM/Dashlet/Page/MyCases.php
+++ b/
CRM/Dashlet/Page/MyCases.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
8
|
+ | Copyright CiviCRM LLC (c) 2004-201
9
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
8
+ * @copyright CiviCRM LLC (c) 2004-201
9
* $Id$
*
*/
* $Id$
*
*/
@@
-45,7
+45,7
@@
class CRM_Dashlet_Page_MyCases extends CRM_Core_Page {
* @return void
*/
public function run() {
* @return void
*/
public function run() {
- $context = CRM_Utils_Request::retrieve('context', '
String
', $this, FALSE, 'dashlet');
+ $context = CRM_Utils_Request::retrieve('context', '
Alphanumeric
', $this, FALSE, 'dashlet');
$this->assign('context', $context);
//check for civicase access.
$this->assign('context', $context);
//check for civicase access.
@@
-62,7
+62,7
@@
class CRM_Dashlet_Page_MyCases extends CRM_Core_Page {
$controller->process();
$controller->run();
$controller->process();
$controller->run();
- if (CRM_Case_BAO_Case::getCases(FALSE,
array('type' => 'any')
, $context, TRUE)) {
+ if (CRM_Case_BAO_Case::getCases(FALSE,
['type' => 'any']
, $context, TRUE)) {
$this->assign('casePresent', TRUE);
}
return parent::run();
$this->assign('casePresent', TRUE);
}
return parent::run();