projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite to use db_pager.
[fa-stable.git]
/
includes
/
ui
/
db_pager_view.inc
diff --git
a/includes/ui/db_pager_view.inc
b/includes/ui/db_pager_view.inc
index a30487f90be2711432be7ce846660dff89d32658..ee74aca5fc944c42f27c6ea9a141415da3b15adb 100644
(file)
--- 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'];
case 'insert': // extra inserted column
case 'spec': // special formatting function
$fun = $col['fun'];
- $param = $coltype=='spec' ? $cell : $row;
if (method_exists($pager, $fun)) {
if (method_exists($pager, $fun)) {
- $cell = $pager->$fun($
param
);
+ $cell = $pager->$fun($
row, $cell
);
} elseif (function_exists($fun)) {
} elseif (function_exists($fun)) {
- $cell = $fun($
param
);
+ $cell = $fun($
row, $cell
);
} else
$cell = '';
// case 'text':
} else
$cell = '';
// case 'text':