Skip to content

Commit f8f186b

Browse files
committed
Suppress deprecated warning
1 parent cc7731d commit f8f186b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/database/drivers/mysqli/mysqli_result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private static function _get_field_type($type)
167167
);
168168

169169
if (defined('MYSQLI_TYPE_INTERVAL')) {
170-
$map[MYSQLI_TYPE_INTERVAL] = 'interval';
170+
$map[constant('MYSQLI_TYPE_INTERVAL')] = 'interval';
171171
}
172172
}
173173

0 commit comments

Comments
 (0)