diff --git a/htdocs/telephonie/client/new.php b/htdocs/telephonie/client/new.php index 6b25dd2e8da..773abafff92 100644 --- a/htdocs/telephonie/client/new.php +++ b/htdocs/telephonie/client/new.php @@ -278,8 +278,7 @@ if ($_POST["action"] == 'add') $soc->AddPerms(1,1,1,1); $soc->AddPerms(5,1,1,1); $soc->AddPerms(9,1,1,1); - $soc->AddPerms(16,1,1,1); - $soc->AddPerms(10,1,1,1); + $soc->AddPerms($user->id,1,1,1); $soc->AddPerms($_POST["commercial_sign"],1,0,0); } else