summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-11-28 12:14:44 +0100
committerAndrey Andreev <narf@devilix.net>2017-11-28 12:15:18 +0100
commit51dbfde284572f80f09360691525c181d26df0ae (patch)
tree63be1fb93951537ffed2d85f9d806e03547aa047 /system/libraries/Pagination.php
parent75db0cfa371941cbd7743d0523bbe3460688fc37 (diff)
[ci skip] Polish changes from PR #5342
Diffstat (limited to 'system/libraries/Pagination.php')
-rw-r--r--system/libraries/Pagination.php4
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');
}