Skip to content
Snippets Groups Projects
Commit bc48ac21 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #266434 by catch, merlinofchaos, sun: fixed E_NOTICE in pager_load_array().

parent 8514a7e2
Loading
......@@ -540,7 +540,7 @@ function pager_load_array($value, $element, $old_array) {
$new_array = $old_array;
// Look for empty elements.
for ($i = 0; $i < $element; $i++) {
if (!$new_array[$i]) {
if (empty($new_array[$i])) {
// Load found empty element with 0.
$new_array[$i] = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment