REPLACE INTO should only be used if the data deletion is wanted.
[platal.git] / include / banana / hooks.inc.php
index 9d42694..c08c983 100644 (file)
@@ -77,7 +77,7 @@ function hook_platalRSS($group)
     } else {
         $group = '';
     }
-    return '/rss/' . $group . S::v('hruid') . '/' . S::s('token') . '/rss.xml';
+    return '/rss/' . $group . S::v('hruid') . '/' . S::user()->token . '/rss.xml';
 }
 
 function hook_platalMessageLink($params)