diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-06 23:33:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-06 23:33:21 -0300 |
commit | 309c71bbfc3e652dce65170a9cc52acfc7bef601 (patch) | |
tree | 192cd9cdae6b8a87c412985a49e7a6b479eaf2a2 /muamba.module | |
parent | df60f5e42bc2f0a29b855a54708c033939802231 (diff) | |
download | muamba-309c71bbfc3e652dce65170a9cc52acfc7bef601.tar.gz muamba-309c71bbfc3e652dce65170a9cc52acfc7bef601.tar.bz2 |
More widget fixes
Diffstat (limited to 'muamba.module')
-rw-r--r-- | muamba.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muamba.module b/muamba.module index 5552d8b..840136d 100644 --- a/muamba.module +++ b/muamba.module @@ -119,7 +119,7 @@ function muamba_node_view($node, $view_mode, $langcode) { if ($view_mode == 'full') { $transaction = muamba_current_transaction($node); $node->content['muamba'] = array( - '#markup' => theme('muamba_widget', array('nid' => $node->nid, 'transaction' => $transaction)), + '#markup' => theme('muamba_widget', array('node' => $node, 'transaction' => $transaction)), '#weight' => 100, ); @@ -135,7 +135,7 @@ function muamba_theme($existing, $type, $theme, $path) { 'muamba_widget' => array( 'template' => 'muamba-widget', 'variables' => array( - 'nid' => NULL, + 'node' => NULL, 'transaction' => NULL, ), ), |