aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/onepoll.php')
-rw-r--r--include/onepoll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onepoll.php b/include/onepoll.php
index 467bb0f2c..617756953 100644
--- a/include/onepoll.php
+++ b/include/onepoll.php
@@ -173,7 +173,7 @@ function onepoll_run($argv, $argc){
if(((float) $res->dfrn_version > 2.21) && ($contact['poco'] == '')) {
q("update contact set poco = '%s' where id = %d limit 1",
- dbesc(str_replace('/profile/','/poco/', $contact['url'])),
+ dbesc(str_replace('/channel/','/poco/', $contact['url'])),
intval($contact['id'])
);
}