From: Vincent Vanwaelscappel Date: Wed, 25 Nov 2020 20:21:18 +0000 (+0100) Subject: wip #3753 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=10088864870b63e2a3d27e3e9b3cc25c8cbe4019;p=cubedesigners_userdatabase.git wip #3753 --- diff --git a/src/User.php b/src/User.php index 47f5270..0020e4b 100644 --- a/src/User.php +++ b/src/User.php @@ -61,7 +61,7 @@ class User extends CubistMagicAuthenticatable 'type' => 'Locale', 'tab' => 'Settings']); - $extranetv1 = ['settings', 'ws_password', 'ws_settings', 'ws_rights', 'ws_domains', 'login', 'mobile', 'fax', 'notes', 'grade', 'resetpassword']; + $extranetv1 = ['settings', 'ws_password', 'ws_settings', 'ws_rights', 'ws_domains','ws_count', 'login', 'mobile', 'fax', 'notes', 'grade', 'resetpassword']; foreach ($extranetv1 as $f) { $this->addField(['name' => 'e1_' . $f, @@ -110,7 +110,7 @@ class User extends CubistMagicAuthenticatable return self::$_companyNames; } - return isset(self::$_companyNames[$id]) ? self::$_companyNames[$id] : '-'; + return isset(self::$_companyNames[$id]) ? self::$_companyNames[$id] : $id; } public function getManagedUsers()