removing notices
This commit is contained in:
parent
ccfbc36694
commit
fa508e4e0f
@ -17,4 +17,4 @@ echo '<hr>';
|
||||
|
||||
$obj = new nick(11221); echo $obj->login()['login']."[{$obj->login()['level']}]";
|
||||
echo '<hr>';
|
||||
echo $obj->login(0)['login']."[{$obj->login()['level']}]";
|
||||
echo $obj->login(1)['login']."[{$obj->login()['level']}]";
|
@ -26,7 +26,7 @@ class nick
|
||||
* @param int $showInvisibility
|
||||
* @return array
|
||||
*/
|
||||
public function login($showInvisibility = 1){
|
||||
public function login($showInvisibility = 0){
|
||||
if ($showInvisibility) {
|
||||
$this->user_data['login'] = 'Невидимка';
|
||||
$this->user_data['level'] = '??';
|
||||
|
Loading…
Reference in New Issue
Block a user