Skip to content
Snippets Groups Projects
Verified Commit 3870754a authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

civicrm release-5.63.1

parent 2de451a6
No related branches found
No related tags found
No related merge requests found
Showing
with 50 additions and 20 deletions
......@@ -2,7 +2,7 @@
/**
* Plugin Name: CiviCRM
* Description: CiviCRM - Growing and Sustaining Relationships
* Version: 5.63.0
* Version: 5.63.1
* Requires at least: 4.9
* Requires PHP: 7.3
* Author: CiviCRM LLC
......@@ -36,7 +36,7 @@ if (!defined('ABSPATH')) {
}
// Set version here: changing it forces Javascript and CSS to reload.
define('CIVICRM_PLUGIN_VERSION', '5.63.0');
define('CIVICRM_PLUGIN_VERSION', '5.63.1');
// Store reference to this file.
if (!defined('CIVICRM_PLUGIN_FILE')) {
......
......@@ -429,7 +429,6 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
$creditCards[$type] = $creditCardTypes[$type];
}
}
$creditCards = json_encode($creditCards);
}
$params = array_merge([
......
......@@ -290,7 +290,7 @@ class CRM_Core_Config extends CRM_Core_Config_MagicMerge {
if ($this->userPermissionClass->isModulePermissionSupported()) {
// Can store permissions -- so do it!
$this->userPermissionClass->upgradePermissions(
CRM_Core_Permission::basicPermissions()
CRM_Core_Permission::basicPermissions(TRUE)
);
}
elseif (get_class($this->userPermissionClass) !== 'CRM_Core_Permission_UnitTests') {
......
......@@ -50,4 +50,35 @@ class CRM_Upgrade_Incremental_php_FiveSixtyThree extends CRM_Upgrade_Incremental
$this->addTask('Make ContributionPage.frontend_title required', 'alterColumn', 'civicrm_contribution_page', 'frontend_title', "varchar(255) NOT NULL COMMENT 'Contribution Page Public title'", TRUE);
}
/**
* Upgrade step; adds tasks including 'runSql'.
*
* @param string $rev
* The version number matching this function name
*
* @throws \Civi\Core\Exception\DBQueryException
*/
public function upgrade_5_63_1(string $rev): void {
$this->addTask('Fix double json encoding of accepted_credit_cards field in payment processor table', 'fixDoubleEscapingPaymentProcessorCreditCards');
}
/**
* Fix any double json encoding in Payment Processor accepted_credit_cards field
*/
public static function fixDoubleEscapingPaymentProcessorCreditCards() {
$paymentProcessors = CRM_Core_DAO::executeQuery("SELECT id, accepted_credit_cards FROM civicrm_payment_processor");
while ($paymentProcessors->fetch()) {
if (!empty($paymentProcessors->accepted_credit_cards)) {
$accepted_credit_cards = json_decode($paymentProcessors->accepted_credit_cards, TRUE);
if (is_numeric(array_keys($accepted_credit_cards)[0])) {
CRM_Core_DAO::executeQuery("UPDATE civicrm_payment_processor SET accepted_credit_cards = %1 WHERE id = %2", [
1 => [$accepted_credit_cards[0], 'String'],
2 => [$paymentProcessors->id, 'Positive'],
]);
}
}
}
return TRUE;
}
}
<?php
/** @deprecated */
function civicrmVersion( ) {
return array( 'version' => '5.63.0',
return array( 'version' => '5.63.1',
'cms' => 'Wordpress',
'revision' => '' );
}
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>beta</develStage>
<compatibility>
<ver>5.63</ver>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>beta</develStage>
<compatibility>
<ver>5.63</ver>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>alpha</develStage>
<compatibility>
<ver>5.63</ver>
......
......@@ -12,7 +12,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-01-09</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<tags>
<tag>mgmt:hidden</tag>
</tags>
......
......@@ -15,7 +15,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-02-11</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.63</ver>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2023-04-08</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<tags>
<tag>component</tag>
......
......@@ -15,7 +15,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2022-01-02</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>alpha</develStage>
<compatibility>
<ver>5.63</ver>
......
......@@ -13,7 +13,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-11-11</releaseDate>
<version>5.63.0</version>
<version>5.63.1</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.63</ver>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment