Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
hfpp2012
/
vbot
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b8a1acf3
authored
Feb 09, 2017
by
HanSon
Committed by
GitHub
Feb 09, 2017
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #40 from HanSon/dev
修复bug
2 parents
0291bbaf
165a300c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/Collections/ContactFactory.php
src/Collections/ContactFactory.php
View file @
b8a1acf
...
...
@@ -66,7 +66,9 @@ class ContactFactory
}
}
myself
()
->
alias
=
isset
(
contact
()
->
get
(
myself
()
->
username
)[
'Alias'
])
?
contact
()
->
get
(
myself
()
->
username
)[
'Alias'
]
:
myself
()
->
nickname
?
:
myself
()
->
username
;
$contact
=
contact
()
->
get
(
myself
()
->
username
);
myself
()
->
alias
=
isset
(
$contact
[
'Alias'
])
?
$contact
[
'Alias'
]
:
myself
()
->
nickname
?
:
myself
()
->
username
;
}
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment