Commit b7a9d90a authored by Dana Skallman's avatar Dana Skallman 🍞

fixed ts on line 202

After last commit this had this Fatal error: Call to undefined function t() in /home/dana/projects/civibeta/wp-content/civicrm-custom/extensions/cc.tadpole.petitionemail/petitionemail.php on line 202

adding ts to line 202 it now loads the petition and doesn't have blank screen anymore
parent a619ae1b
...@@ -199,7 +199,7 @@ function petitionemail_civicrm_buildForm( $formName, &$form ) { ...@@ -199,7 +199,7 @@ function petitionemail_civicrm_buildForm( $formName, &$form ) {
); );
} }
else { else {
$custom_field_options = array('' => t('- Select -')); $custom_field_options = array('' => ts('- Select -'));
$custom_field_options = $custom_field_options + $custom_fields; $custom_field_options = $custom_field_options + $custom_fields;
} }
$choose_one = array('0' => ts('Primary')); $choose_one = array('0' => ts('Primary'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment