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 ee5e9f1f
authored
Jan 26, 2017
by
HanSon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复群组接收文件
1 parent
6bd084a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/Message/Entity/ShareFactory.php
src/Message/Entity/ShareFactory.php
View file @
ee5e9f1
...
...
@@ -33,6 +33,10 @@ class ShareFactory
private
function
parse
(
$xml
)
{
if
(
starts_with
(
$xml
,
'@'
)){
$xml
=
preg_replace
(
'/(@\S+:\\n)/'
,
''
,
$xml
);
}
$array
=
(
array
)
simplexml_load_string
(
$xml
,
'SimpleXMLElement'
,
LIBXML_NOCDATA
);
$this
->
xml
=
$info
=
(
array
)
$array
[
'appmsg'
];
...
...
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