summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
diff options
context:
space:
mode:
authorAhmad Anbar <aanbar@gmail.com>2017-11-27 18:23:38 +0100
committerAhmad Anbar <aanbar@gmail.com>2017-11-27 18:23:38 +0100
commit0055dca60260d36a334f29bd61047eb076d38613 (patch)
treedb6be4f2437dcafe9006e02319cb8e2488dbed7b /system/libraries/Pagination.php
parentf609918247083634dac6c94712acdee625dea527 (diff)
Enable rel attribute by default #4000
Diffstat (limited to 'system/libraries/Pagination.php')
-rw-r--r--system/libraries/Pagination.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index 9a57ecbaf..ece4edac9 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -339,6 +339,8 @@ class CI_Pagination {
}
}
+ // Enable rel attribute by default
+ isset($params['attributes']) OR $params['attributes'] = array();
$this->initialize($params);
log_message('info', 'Pagination Class Initialized');
}