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);