aboutsummaryrefslogtreecommitdiff
path: root/muamba.theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'muamba.theme.inc')
-rw-r--r--muamba.theme.inc8
1 files changed, 1 insertions, 7 deletions
diff --git a/muamba.theme.inc b/muamba.theme.inc
index 481941f..c13a15f 100644
--- a/muamba.theme.inc
+++ b/muamba.theme.inc
@@ -10,15 +10,9 @@ function theme_muamba_transactions($variables) {
$output = '<div class="muamba-transactions">';
$output .= '<h2>'. t('Transactions') .'</h2>';
- $rows = array();
- foreach ($transactions as $entry) {
- // Sanitize the data before handing it off to the theme layer.
- $rows[] = array_map('check_plain', (array) $entry);
- }
-
// Make a table for them.
$header = array(t('Id'), t('uid'), t('Owner'), t('Thread'));
- $output .= theme('table', array('header' => $header, 'rows' => $rows));
+ $output .= theme('table', array('header' => $header, 'rows' => $transactions));
$output .= '</div>';
return $output;