Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b70378be
Commit
b70378be
authored
Dec 02, 2004
by
Steven Wittens
Browse files
Fix for pager_query() after
#13581
(array of query arguments).
parent
925bd415
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/pager.inc
View file @
b70378be
...
...
@@ -55,6 +55,10 @@ function pager_query($query, $limit = 10, $element = 0, $count_query = NULL) {
// Substitute in query arguments.
$args
=
func_get_args
();
$args
=
array_slice
(
$args
,
4
);
// Alternative syntax for '...'
if
(
is_array
(
$args
[
0
]))
{
$args
=
$args
[
0
];
}
// Count the total number of records in this query.
if
(
!
isset
(
$count_query
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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