From ba0cb925f8ac8c2dc34cc994f6646b1d5fda0290 Mon Sep 17 00:00:00 2001 From: Coleman Watts <coleman@civicrm.org> Date: Wed, 3 Apr 2013 12:26:03 -0700 Subject: [PATCH] Fix setting defaults for event form CRM-12149 --- CRM/Event/Form/Registration/Register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 2bdd91f75f..d9da063a45 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -189,7 +189,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { // now fix all state country selectors CRM_Core_BAO_Address::fixAllStateSelects($this, $this->_defaults); - if ($this->_ppType) { + if ($this->_snippet) { return $this->_defaults; } -- GitLab