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 #4011 from eileenmcnaughton/CRM-15213
[civicrm-core.git]
/
CRM
/
Member
/
Form.php
diff --git
a/CRM/Member/Form.php
b/CRM/Member/Form.php
index 5c99e447713cd785e2fe66fd7e6ac8497f336e6f..c844e64d8af83554b0e269374cb554bd9a48893c 100644
(file)
--- a/
CRM/Member/Form.php
+++ b/
CRM/Member/Form.php
@@
-1,7
+1,7
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
4
|
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
@@
-71,8
+71,8
@@
class CRM_Member_Form extends CRM_Core_Form {
if (isset($this->_id)) {
$params = array('id' => $this->_id);
if (isset($this->_id)) {
$params = array('id' => $this->_id);
-
require_once (str_replace('_', DIRECTORY_SEPARATOR, $this->_BAOName) . ".php")
;
-
eval($this->_BAOName . '::retrieve( $params, $defaults );'
);
+
$baoName = $this->_BAOName
;
+
$baoName::retrieve($params, $defaults
);
}
if (isset($defaults['minimum_fee'])) {
}
if (isset($defaults['minimum_fee'])) {