aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 6cff4e4b7..ff97b8bd5 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -905,7 +905,7 @@ function widget_wiki_list($arr) {
// This should not occur because /wiki should redirect to /wiki/channel ...
$channel = \App::get_channel();
} else {
- $channel = get_channel_by_nick(argv(1)); // Channel being viewed by observer
+ $channel = channelx_by_nick(argv(1)); // Channel being viewed by observer
}
if (!$channel) {
return '';