Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metaform: fix decimal's sql data type
[wfpl.git]
/
template.php
diff --git
a/template.php
b/template.php
index
a20fd64
..
fc7302b
100644
(file)
--- a/
template.php
+++ b/
template.php
@@
-212,7
+212,7
@@
function &tem_row_data($tem, $context)
function_exists($auto_func)
or die("ERROR: template auto function '$auto_func' not found.<br>\n");
}
function_exists($auto_func)
or die("ERROR: template auto function '$auto_func' not found.<br>\n");
}
- if($auto_func) $value = $auto_func($scope['data'][$key], $key, $scope);
+ if($auto_func) $value = $auto_func($scope['data'][$key], $key, $scope, $tem['args']);
else $value = $scope['data'][$key];
$rows = tem_data_as_rows($value, $key);
else $value = $scope['data'][$key];
$rows = tem_data_as_rows($value, $key);