fix persons registration page
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 28 Jun 2022 12:50:14 +0000 (14:50 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 28 Jun 2022 12:50:14 +0000 (14:50 +0200)
planetlab/persons/register.php

index f5ab63e..6891c88 100644 (file)
@@ -103,7 +103,7 @@ foreach ($person_form as $name => $item) {
 if (!empty($person['site_ids'])) {
   $person['site_ids'] = array_filter(
     $person['site_ids'],
-               function($site_id, {return intval($site_id) > 0;}))
+    function($site_id) {return intval($site_id) > 0;});
 }
 
 //////////////////// minimal checking