X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fuser%2Fclass_Guest.php;h=d07317a4b1b3809f361a904b70d78decf5862aeb;hp=c5ea22584dd33ca7640c3acd13b4d7dc003d1348;hb=86553167136d11d44e1d938e964134c038785e3e;hpb=b32540971288c1c95139d65e75c72c1e456c9337 diff --git a/inc/classes/main/user/class_Guest.php b/inc/classes/main/user/class_Guest.php index c5ea225..d07317a 100644 --- a/inc/classes/main/user/class_Guest.php +++ b/inc/classes/main/user/class_Guest.php @@ -45,14 +45,15 @@ class Guest extends BaseFrameworkSystem implements ManageableUser, Registerable /** * Protected constructor * + * @param $className Name of the class * @return void */ - protected function __construct ($class = "") { + protected function __construct ($className = "") { // Is the class name empty? Then this is not a specialized user class - if (empty($class)) $class = __CLASS__; + if (empty($className)) $className = __CLASS__; // Call parent constructor - parent::__construct($class); + parent::__construct($className); // Set part description $this->setObjectDescription("Generic user class");