Commit 33b93c35 authored by eileen's avatar eileen

Fix 'default_invoice_page' to be supported by settings.getoptions.

Settings.getoptions supports a lesser format-set to CRM_Core_DAO::buildOptions does
in terms of pseudoconstant keys. Ideally we would fix that but for now
fix the fatal on the contribution page settings page by using
a format that is supported
parent b2468ce6
......@@ -29,10 +29,7 @@
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2017
* $Id$
*
*/
/*
* Settings metadata file
*/
......@@ -125,7 +122,8 @@ return array(
'quick_form_type' => 'Element',
'default' => NULL,
'pseudoconstant' => array(
'name' => 'contributionPage',
// @todo - handle table style pseudoconstants for settings & avoid deprecated function.
'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
),
'html_type' => 'select',
'add' => '4.7',
......
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