summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2009-11-14 20:20:06 (GMT)
committerDries Buytaert2009-11-14 20:20:06 (GMT)
commitbc48ac21da988d989b080189f53508a9a14512a6 (patch)
treea144a69b3a290b76075a45f87bee3c7698e2188c
parent8514a7e283b65f1085e0f3a96e1e701157532e88 (diff)
- Patch #266434 by catch, merlinofchaos, sun: fixed E_NOTICE in pager_load_array().
-rw-r--r--includes/pager.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pager.inc b/includes/pager.inc
index 21331ba..54616ea 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -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;
}