X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fdb_pager.inc;fp=includes%2Fdb_pager.inc;h=daaa2e8e47116003ef6e173bbe3289c57ffd141d;hb=8b9b2d78cd89f090b486e749396cb5eabd693527;hp=416773acb85dd6989aa74a94d4593804b73bbafa;hpb=e6c89f21df1c1d6742a7e335e6e0fc2c958a7a29;p=fa-stable.git diff --git a/includes/db_pager.inc b/includes/db_pager.inc index 416773ac..daaa2e8e 100644 --- a/includes/db_pager.inc +++ b/includes/db_pager.inc @@ -65,7 +65,7 @@ class db_pager { // array('select' => 'SUM(quantity)', 'from' => TB_PREF."stock_moves", 'group' => 'location') // // $name is base name for pager controls - function db_pager($sql, $name, $table = null, $page_len=0) + function __construct($sql, $name, $table = null, $page_len=0) { $this->width = "95%"; if ($page_len == 0) $page_len = user_query_size();