do not attempt to delete unverified profile_id
This commit is contained in:
parent
6f6b9e0599
commit
c7e51b4d3c
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
|
|||
|
||||
switch ($this->_op) {
|
||||
case 'delete':
|
||||
if ($this->profile_id) {
|
||||
if ($this->profile) {
|
||||
CRM_Utils_System::setTitle(E::ts('Delete Twingle API profile <em>%1</em>', [1 => $this->profile->getName()]));
|
||||
$this->addButtons([
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue