X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=140b9de7f98be2ab9e74e29835f54241dd6668e1;hb=63f8907cf66602551c3fc533835ad586bcf31c1f;hp=100547fd8d824dde9040672d9446bb886361a487;hpb=461b072662d5d1fb0e2e7d8cfc24cd63f726343c;p=brisk.git diff --git a/web/index.php b/web/index.php index 100547f..140b9de 100644 --- a/web/index.php +++ b/web/index.php @@ -58,11 +58,12 @@ function main() $bri->garbage_manager(TRUE); /* try login */ $name = substr($name, 0, 12); + $name = str_replace(" ", "_", $name); if (($user = &$bri->add_user(&$sess, &$idx, $name)) != FALSE) { $ACTION = "room"; // setcookie ("sess", "", time() + 180); - standup_update(&$bri,&$user); + $bri->standup_update(&$user); if (save_data(&$bri) == FALSE) { echo "ERRORE SALVATAGGIO\n";