projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c07ea1
)
Move varible setting for allowRemoteSubmit outsite immediate if
author
Seamus Lee
<seamuslee001@gmail.com>
Wed, 24 Aug 2016 21:12:01 +0000
(07:12 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 25 Aug 2016 06:49:12 +0000
(16:49 +1000)
CRM/Profile/Page/Router.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Profile/Page/Router.php
b/CRM/Profile/Page/Router.php
index 6aead0e2fc87e7a45b40c814ccc5bd67fd590b04..18198983d012a0378e0f2afcfe5b9c3413ab61fe 100644
(file)
--- a/
CRM/Profile/Page/Router.php
+++ b/
CRM/Profile/Page/Router.php
@@
-97,8
+97,8
@@
class CRM_Profile_Page_Router extends CRM_Core_Page {
}
if ($secondArg == 'edit' || $secondArg == 'create') {
+ $allowRemoteSubmit = Civi::settings()->get('remote_profile_submissions');
if ($secondArg == 'edit') {
- $allowRemoteSubmit = Civi::settings()->get('remote_profile_submissions');
$controller = new CRM_Core_Controller_Simple('CRM_Profile_Form_Edit',
ts('Create Profile'),
CRM_Core_Action::UPDATE,