From 51dbfde284572f80f09360691525c181d26df0ae Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 28 Nov 2017 13:14:44 +0200 Subject: [ci skip] Polish changes from PR #5342 --- system/libraries/Pagination.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system/libraries') 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'); } -- cgit v1.2.3-24-g4f1b