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 #11672 from omarabuhussein/CRM-21769-improve-unsupported-locale...
[civicrm-core.git]
/
CRM
/
Case
/
Form
/
Task
/
Restore.php
diff --git
a/CRM/Case/Form/Task/Restore.php
b/CRM/Case/Form/Task/Restore.php
index 4318eb1f66129aa3580526e5c2d6bf5ac857f805..1e7509156a149cdc3f1d46ce9cd5926519fb89a2 100644
(file)
--- a/
CRM/Case/Form/Task/Restore.php
+++ b/
CRM/Case/Form/Task/Restore.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version
4.7
|
+ | CiviCRM version
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
7
|
+ | Copyright CiviCRM LLC (c) 2004-201
8
|
+--------------------------------------------------------------------+
| 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
7
+ * @copyright CiviCRM LLC (c) 2004-201
8
*/
/**
*/
/**
@@
-63,7
+63,7
@@
class CRM_Case_Form_Task_Restore extends CRM_Case_Form_Task {
*/
public function postProcess() {
$restoredCases = $failed = 0;
*/
public function postProcess() {
$restoredCases = $failed = 0;
- foreach ($this->_
case
Ids as $caseId) {
+ foreach ($this->_
entity
Ids as $caseId) {
if (CRM_Case_BAO_Case::restoreCase($caseId)) {
$restoredCases++;
}
if (CRM_Case_BAO_Case::restoreCase($caseId)) {
$restoredCases++;
}