Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41bba2f

Browse files
committed
[ci skip] Fix bcit-ci#5627
1 parent da5cf99 commit 41bba2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

system/database/DB_driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ abstract class CI_DB_driver {
142142
*
143143
* @var int
144144
*/
145-
public $port = '';
145+
public $port = NULL;
146146

147147
/**
148148
* Persistent connection flag

user_guide_src/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Bug fixes for 3.1.10
2020
- Fixed a bug (#5587) - :doc:`Database Forge <database/forge>` method ``create_table()`` generated an ``E_WARNING`` message.
2121
- Fixed a bug (#5590) - :doc:`Form Validation Library <libraries/form_validation>` rule **valid_base64** didn't have a default error message.
2222
- Fixed a bug (#5624) - :doc:`Database Library <database/index>` methods ``list_fields()``, ``field_exists()`` returned incorrect results after tables are modified.
23+
- Fixed a bug (#5627) - :doc:`Database <database/index>` driver 'mysqli' triggered an ``E_WARNING`` message if there's no ``'port'`` specified in the database configuration.
2324

2425
Version 3.1.9
2526
=============

0 commit comments

Comments
 (0)