Compare commits

..

No commits in common. "5adab0951c08a8e02e3b4075eca309b508df0d6a" and "fc06da09c9cb3fdedc92129f0b3bfe839ad66f28" have entirely different histories.

2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ class CoreController extends Controller
foreach($fields as $key => $field) {
// Si champs obligatoire
if($field["perm"]==2) {
dump($key);
switch($key) {
case "firstname": if($user->getFirstname()=="") $toprofil=true; break;
case "visible": if($user->getVisible()=="") $toprofil=true; break;
@ -95,6 +96,7 @@ class CoreController extends Controller
case "birthcountry": if($user->getBirthcountry()=="") $toprofil=true; break;
case "birthplace": if($user->getBirthplace()=="") $toprofil=true; break;
}
dump($toprofil);
}
}
}

View File

@ -1963,6 +1963,7 @@ class PagewidgetController extends Controller
if($usage!="group"||!$group) {
$group=$em->getRepository("CadolesCoreBundle:Group")->findOneBy(["fgall"=>true])->getId();
}
dump($group);
// Render
return $this->render($this->labelentity.':viewchat.html.twig', [