removing notices

This commit is contained in:
lopar 2018-03-03 02:37:05 +02:00
parent ccfbc36694
commit fa508e4e0f
2 changed files with 2 additions and 2 deletions

View File

@ -17,4 +17,4 @@ echo '<hr>';
$obj = new nick(11221); echo $obj->login()['login']."[{$obj->login()['level']}]"; $obj = new nick(11221); echo $obj->login()['login']."[{$obj->login()['level']}]";
echo '<hr>'; echo '<hr>';
echo $obj->login(0)['login']."[{$obj->login()['level']}]"; echo $obj->login(1)['login']."[{$obj->login()['level']}]";

View File

@ -26,7 +26,7 @@ class nick
* @param int $showInvisibility * @param int $showInvisibility
* @return array * @return array
*/ */
public function login($showInvisibility = 1){ public function login($showInvisibility = 0){
if ($showInvisibility) { if ($showInvisibility) {
$this->user_data['login'] = 'Невидимка'; $this->user_data['login'] = 'Невидимка';
$this->user_data['level'] = '??'; $this->user_data['level'] = '??';