Skip to content

Commit

Permalink
Merge pull request #14935 from eileenmcnaughton/515
Browse files Browse the repository at this point in the history
ports to 5.15
  • Loading branch information
seamuslee001 authored Jul 31, 2019
2 parents b330ddb + 4feaa6f commit 230f015
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CRM/Utils/Check/Component/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ public function checkMysqlUtf8mb4() {
);
}
// Ensure that the MySQL driver supports utf8mb4 encoding.
$version = mysqli_get_client_info(CRM_Core_DAO::getConnection()->connection);
$version = mysqli_get_client_info();
if (strpos($version, 'mysqlnd') !== FALSE) {
// The mysqlnd driver supports utf8mb4 starting at version 5.0.9.
$version = preg_replace('/^\D+([\d.]+).*/', '$1', $version);
Expand Down
2 changes: 1 addition & 1 deletion Civi/Install/Requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ public function checkMysqlUtf8mb4($db_config) {
mysqli_query($conn, 'DROP TABLE civicrm_utf8mb4_test');

// Ensure that the MySQL driver supports utf8mb4 encoding.
$version = mysqli_get_client_info($conn);
$version = mysqli_get_client_info();
if (strpos($version, 'mysqlnd') !== FALSE) {
// The mysqlnd driver supports utf8mb4 starting at version 5.0.9.
$version = preg_replace('/^\D+([\d.]+).*/', '$1', $version);
Expand Down
2 changes: 1 addition & 1 deletion install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ public function requireMysqlUtf8mb4($server, $username, $password, $database, $t
$result = mysqli_query($conn, 'DROP TABLE civicrm_utf8mb4_test');

// Ensure that the MySQL driver supports utf8mb4 encoding.
$version = mysqli_get_client_info($conn);
$version = mysqli_get_client_info();
if (strpos($version, 'mysqlnd') !== FALSE) {
// The mysqlnd driver supports utf8mb4 starting at version 5.0.9.
$version = preg_replace('/^\D+([\d.]+).*/', '$1', $version);
Expand Down
8 changes: 2 additions & 6 deletions templates/CRM/Contribute/Form/Contribution/Confirm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,9 @@
<div class="messages status continue_instructions-section">
<p>
{if $is_pay_later OR $amount LE 0.0}
{ts 1=$button}Your transaction will not be completed until you click the
<strong>%1</strong>
button. Please click the button one time only.{/ts}
{ts 1=$button}Your transaction will not be completed until you click the <strong>%1</strong> button. Please click the button one time only.{/ts}
{else}
{ts 1=$button}Your contribution will not be completed until you click the
<strong>%1</strong>
button. Please click the button one time only.{/ts}
{ts 1=$button}Your contribution will not be completed until you click the <strong>%1</strong> button. Please click the button one time only.{/ts}
{/if}
</p>
</div>
Expand Down

0 comments on commit 230f015

Please sign in to comment.