Commit 03501da1 authored by Benjamin Sonntag's avatar Benjamin Sonntag Committed by root
Browse files

fixing a bug with foreach() when asking for a password renewal

parent 385a65cb
......@@ -176,11 +176,14 @@ class Perso extends Controller
// Création de l'url d'administration
$admin_url = "";
/* @TODO @FIXME broken until fixed (le get ne retourne pas un tableau)
foreach ($f3->get('languages') as $key => $language) {
if ($f3->get('lang')==$language[1]) {
$admin_url = "https://".$language[0].$f3->get('dev')."";
// Remplacement des variables par leurs valeurs
$fields = array(
"PASSWORD" => $pass,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment