summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/pager.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/pager.inc b/includes/pager.inc
index 109ce61a7..57dae4046 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -282,7 +282,8 @@ function pager_list($limit, $element = 0, $quantity = 5, $text = "", $attributes
*/
function pager_query($query, $limit = 10, $element = 0, $count_query = "") {
- global $from, $pager_from_array, $db_type, $pager_total;
+ global $pager_from_array, $pager_total;
+ $from = $_GET["from"];
// count the total number of records in this query:
if ($count_query == "") {
@@ -331,4 +332,4 @@ function pager_load_array($value, $element, $old_array) {
return $new_array;
}
-?> \ No newline at end of file
+?>