X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=5fe56c628593cc1e1f3b3554792653f40f8b5e48;hb=66f94441ec85a5555c7280aff03ba7e5d661c364;hp=29c563ccf139dc33e2cea6f5152f5366dd793dce;hpb=634d45b289a7c58aff3a0a4d3a16907a22216d20;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 29c563c..5fe56c6 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2,7 +2,7 @@ /* * brisk - brisk.phh * - * Copyright (C) 2006-2014 Matteo Nastasi + * Copyright (C) 2006-2015 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it @@ -816,13 +816,13 @@ class Table { if ($sitted < PLAYERS_N) { switch ($this->auth_type) { case TABLE_AUTH_TY_CERT: - if ($user->is_cert()) + if ($user->is_cert() && !$user->is_appr()) $act = "sitcert"; else $act = 'resercert'; break; case TABLE_AUTH_TY_AUTH: - if ($user->is_auth()) + if ($user->is_auth() && !$user->is_appr()) $act = "sitreser"; else $act = 'reserved';