From 058102de9f4977968fe5d7359e63400d4927cf72 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Wed, 22 Aug 2018 14:49:15 +0300 Subject: [ci skip] Fix #5571 --- system/libraries/Xmlrpc.php | 2 +- user_guide_src/source/changelog.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php index c23504de8..fef3b05dd 100644 --- a/system/libraries/Xmlrpc.php +++ b/system/libraries/Xmlrpc.php @@ -1213,7 +1213,7 @@ class XML_RPC_Message extends CI_Xmlrpc { echo '
';
 
-			if (count($this->xh[$pname]['headers'] > 0))
+			if (count($this->xh[$pname]['headers']) > 0)
 			{
 				echo "---HEADERS---\n";
 				foreach ($this->xh[$pname]['headers'] as $header)
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index eb9c573e5..21bca15ac 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -12,6 +12,7 @@ Bug fixes for 3.1.10
 -  Fixed a bug (#5542) - :doc:`Database Forge ` method ``modify_column()`` always made fields ``NOT NULL`` when attempting to modify their nullable property under PostgreSQL.
 -  Fixed a bug (#5561) - :doc:`Database Library ` didn't allow SSL connection configuration with only the 'ssl_verify' option when using the 'mysqli' driver.
 -  Fixed a bug (#5545) - :doc:`Session Library ` crashed due to a caching-related error with the 'files' driver.
+-  Fixed a bug (#5571) - :doc:`XML-RPC Library ` had a typo that triggered an ``E_WARNING`` message on PHP 7.2.
 
 Version 3.1.9
 =============
-- 
cgit v1.2.3-24-g4f1b