Fix networking display on profiles
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 8 Jul 2010 09:58:16 +0000 (11:58 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Thu, 8 Jul 2010 09:58:16 +0000 (11:58 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
templates/profile/profile.tpl

index df3cf2c..759bff1 100644 (file)
@@ -62,7 +62,8 @@ function chgMainWinLoc(strPage)
 
     {/if}
 
-    {assign var=networking value=$profile->getNetworking(0)}
+    {* 458752 stands for 0x70000 = Profile::NETWORKING_ALL *}
+    {assign var=networking value=$profile->getNetworking(458752)}
     {if count($networking) > 0}
       <h2>Sur le web...</h2>
       {foreach from=$networking item=network}