Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
bc48ac21
Commit
bc48ac21
authored
Nov 14, 2009
by
Dries
Browse files
- Patch
#266434
by catch, merlinofchaos, sun: fixed E_NOTICE in pager_load_array().
parent
8514a7e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/pager.inc
View file @
bc48ac21
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment