summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/mod_feed.php2
-rw-r--r--modules/mod_status.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/mod_feed.php b/modules/mod_feed.php
index 779e260..9e1f56c 100644
--- a/modules/mod_feed.php
+++ b/modules/mod_feed.php
@@ -21,7 +21,7 @@ if( !empty($gQueryUser) ){
$actions = feed_get_actions( $listHash );
- $gBitSmarty->assign( 'actions', $actions);
+ $_template->tpl_vars['actions'] = new Smarty_variable( $actions);
}
diff --git a/modules/mod_status.php b/modules/mod_status.php
index fd6271e..a9070f4 100644
--- a/modules/mod_status.php
+++ b/modules/mod_status.php
@@ -26,7 +26,7 @@ if( !empty( $moduleParams['module_params']['user_id'] ) ){
}
$statuses = feed_get_status( $listHash );
-$gBitSmarty->assign( 'statuses', $statuses);
+$_template->tpl_vars['statuses'] = new Smarty_variable( $statuses);
foreach ($statuses as $status){
@@ -45,7 +45,7 @@ foreach ($statuses as $status){
$statuses = feed_get_status( $listHash );
- $gBitSmarty->assign( 'statuses', $statuses);
+ $_template->tpl_vars['statuses'] = new Smarty_variable( $statuses);
break;
}
}