Raw must be specified, it sould not be set as default.
authorStéphane Jacob <sj@m4x.org>
Mon, 19 Sep 2011 18:55:17 +0000 (20:55 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 19 Sep 2011 21:57:39 +0000 (23:57 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
plugins/function.profile.php

index fe40261..abfb165 100644 (file)
@@ -27,7 +27,7 @@ function smarty_function_profile($params, $smarty)
     $with_link  = $params->b('link', true);
     $with_dir   = $params->b('directory', true);
     $with_groupperms = $params->b('groupperms', true);
-    $raw = $params->b('raw', true);
+    $raw = $params->b('raw', false);
     $user = $params->v('user');
     if (is_int($user) || ctype_digit($user)) {
         $user = User::getWithUID($user);