diff options
author | Andrey Andreev <narf@devilix.net> | 2017-11-28 12:14:44 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-11-28 12:14:44 +0100 |
commit | 2819340f009e60b79f74ef1c4fc98d469a44d923 (patch) | |
tree | b22958f6656b03abb33b79a1f6ee7eec19da44ef /system | |
parent | c19cce944e9bf2ea5d56f31793a3049981b35445 (diff) |
[ci skip] Polish changes from PR #5342
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Pagination.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php index ece4edac9..3af70cb12 100644 --- a/system/libraries/Pagination.php +++ b/system/libraries/Pagination.php @@ -339,8 +339,10 @@ class CI_Pagination { } } - // Enable rel attribute by default + // _parse_attributes(), called by initialize(), needs to run at least once + // in order to enable "rel" attributes, and this triggers it. isset($params['attributes']) OR $params['attributes'] = array(); + $this->initialize($params); log_message('info', 'Pagination Class Initialized'); } |