Merge remote-tracking branch 'origin/abtest' into master-abtest
[civicrm-core.git] / CRM / Price / Form / Set.php
index 7c4fc525420bea6ae5ac8ea03bed77042b6ea53e..e0f8e431b24527a63056e5e855d36bbdbae40982 100644 (file)
@@ -289,7 +289,7 @@ class CRM_Price_Form_Set extends CRM_Core_Form {
     else {
       // Jump directly to adding a field if popups are disabled
       $action = CRM_Core_Resources::singleton()->ajaxPopupsEnabled ? 'browse' : 'add';
-      $url = CRM_Utils_System::url('civicrm/admin/price/field', array('reset' => 1, 'action' => $action, 'sid' => $set->id));
+      $url = CRM_Utils_System::url('civicrm/admin/price/field', array('reset' => 1, 'action' => $action, 'sid' => $set->id, 'new' => 1));
       CRM_Core_Session::setStatus(ts("Your Set '%1' has been added. You can add fields to this set now.",
           array(1 => $set->title)
         ), ts('Saved'), 'success');