summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2016-02-07 17:23:09 +0000
committerlsces <lester@lsces.co.uk>2016-02-07 17:23:09 +0000
commit440dd66a18d5f3f58c20f297e5c7d7be1741c77b (patch)
tree021f4095a4292527b62432fa2a9c075b7702abd2 /index.php
parentefecaa5e52f1b7f9e09b840c261ccc763a455689 (diff)
downloadsearch-440dd66a18d5f3f58c20f297e5c7d7be1741c77b.tar.gz
search-440dd66a18d5f3f58c20f297e5c7d7be1741c77b.tar.bz2
search-440dd66a18d5f3f58c20f297e5c7d7be1741c77b.zip
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 6c2a82b..c486b38 100644
--- a/index.php
+++ b/index.php
@@ -94,10 +94,10 @@ if ( $_REQUEST['cant'] > 0 ) {
}
}
LibertyContent::postGetList( $_REQUEST );
-$gBitSmarty->assign_by_ref( 'listInfo', $_REQUEST['listInfo'] );
+$gBitSmarty->assignByRef( 'listInfo', $_REQUEST['listInfo'] );
// Find search results (build array)
-$gBitSmarty->assign_by_ref('results', $results);
+$gBitSmarty->assignByRef('results', $results);
// Display the template
$gBitSystem->display( 'bitpackage:search/search.tpl', 'Search Results for: '.strip_tags($_REQUEST["highlight"]), array( 'display_mode' => 'display' ));