aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php
index e6c003099..616035339 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -1,6 +1,7 @@
<?php
require_once('include/dir_fns.php');
+require_once('include/widgets.php');
function directory_init(&$a) {
@@ -213,7 +214,7 @@ function directory_content(&$a) {
if($j['keywords']) {
$a->set_widget('dirtagblock',dir_tagblock(z_root() . '/directory',$j['keywords']));
}
- $a->set_widget('suggest',suggest_widget());
+ $a->set_widget('suggest',widget_suggestions(array()));
// logger('mod_directory: entries: ' . print_r($entries,true), LOGGER_DATA);