X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fdb_pager_view.inc;h=ee74aca5fc944c42f27c6ea9a141415da3b15adb;hb=348062667e6a96e9849bf25de0f2a426b4f0b9c6;hp=a30487f90be2711432be7ce846660dff89d32658;hpb=ffb0ae97be5c30eeee98ad9aac45cf5077b515c7;p=fa-stable.git diff --git a/includes/ui/db_pager_view.inc b/includes/ui/db_pager_view.inc index a30487f9..ee74aca5 100644 --- a/includes/ui/db_pager_view.inc +++ b/includes/ui/db_pager_view.inc @@ -81,11 +81,10 @@ function display_db_pager(&$pager) { case 'insert': // extra inserted column case 'spec': // special formatting function $fun = $col['fun']; - $param = $coltype=='spec' ? $cell : $row; if (method_exists($pager, $fun)) { - $cell = $pager->$fun($param); + $cell = $pager->$fun($row, $cell); } elseif (function_exists($fun)) { - $cell = $fun($param); + $cell = $fun($row, $cell); } else $cell = ''; // case 'text':