fix exception on profile creation
This commit is contained in:
parent
aef1ae7396
commit
f81b476a30
1 changed files with 1 additions and 2 deletions
|
@ -149,8 +149,7 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify that a profile with the given id exists.
|
// Verify that a profile with the given id exists.
|
||||||
|
if ($this->_op != 'copy' && $this->_op != 'create') {
|
||||||
if ($this->_op != 'copy') {
|
|
||||||
$this->profile_id = CRM_Utils_Request::retrieve('id', 'Int', $this);
|
$this->profile_id = CRM_Utils_Request::retrieve('id', 'Int', $this);
|
||||||
$this->profile = CRM_Twingle_Profile::getProfile($this->profile_id);
|
$this->profile = CRM_Twingle_Profile::getProfile($this->profile_id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue