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 #4820 from kurund/CRM-15705
[civicrm-core.git]
/
CRM
/
Pledge
/
Page
/
AJAX.php
diff --git
a/CRM/Pledge/Page/AJAX.php
b/CRM/Pledge/Page/AJAX.php
index d626ac6da1790e17683ab53fd39be25cfb74850b..ae6cdd69a320483123b60969233b8121db1f1880 100755
(executable)
--- a/
CRM/Pledge/Page/AJAX.php
+++ b/
CRM/Pledge/Page/AJAX.php
@@
-41,7
+41,7
@@
class CRM_Pledge_Page_AJAX {
/**
* Building Pledge Name combo box
*/
/**
* Building Pledge Name combo box
*/
- static function pledgeName() {
+
public
static function pledgeName() {
$getRecords = FALSE;
if (isset($_GET['name']) && $_GET['name']) {
$getRecords = FALSE;
if (isset($_GET['name']) && $_GET['name']) {
@@
-90,7
+90,7
@@
WHERE {$whereClause}
* Function to setDefaults according to Pledge Id
* for batch entry pledges
*/
* Function to setDefaults according to Pledge Id
* for batch entry pledges
*/
- function getPledgeDefaults() {
+
public
function getPledgeDefaults() {
$details = array();
if (!empty($_POST['pid'])) {
$pledgeID = CRM_Utils_Type::escape($_POST['pid'], 'Integer');
$details = array();
if (!empty($_POST['pid'])) {
$pledgeID = CRM_Utils_Type::escape($_POST['pid'], 'Integer');
@@
-100,4
+100,3
@@
WHERE {$whereClause}
CRM_Utils_System::civiExit();
}
}
CRM_Utils_System::civiExit();
}
}
-