aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editblock.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/editblock.php')
-rw-r--r--mod/editblock.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/editblock.php b/mod/editblock.php
index 6ec840af7..46126f94e 100644
--- a/mod/editblock.php
+++ b/mod/editblock.php
@@ -33,7 +33,7 @@ function editblock_content(&$a) {
$which = argv(1);
- $uid = local_user();
+ $uid = local_channel();
$owner = 0;
$channel = null;
$observer = $a->get_observer();