Fix a warning in profile display
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Mar 2010 12:34:05 +0000 (13:34 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Mar 2010 13:08:01 +0000 (14:08 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/profile.php

index 1debe66..75c1d71 100644 (file)
@@ -254,6 +254,7 @@ class ProfileModule extends PLModule
 
         $page->assign_by_ref('p', $profile);
         $page->assign_by_ref('o', $owner);
+        $page->assign('view', $view);
         $page->assign('logged', S::logged());
 
         $page->addJsLink('close_on_esc.js');