mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix importer module not saving documents/comments with empty password fields
This commit is contained in:
parent
957be16a25
commit
41ed1d7bec
5 changed files with 6 additions and 6 deletions
|
|
@ -765,7 +765,7 @@ class importerAdminController extends importer
|
|||
$obj->readed_count = base64_decode($xmlDoc->post->readed_count->body);
|
||||
$obj->voted_count = base64_decode($xmlDoc->post->voted_count->body);
|
||||
$obj->blamed_count = base64_decode($xmlDoc->post->blamed_count->body);
|
||||
$obj->password = base64_decode($xmlDoc->post->password->body);
|
||||
$obj->password = base64_decode($xmlDoc->post->password->body) ?: null;
|
||||
$obj->user_name = base64_decode($xmlDoc->post->user_name->body);
|
||||
$obj->nick_name = base64_decode($xmlDoc->post->nick_name->body);
|
||||
if(!$obj->user_name) $obj->user_name = $obj->nick_name;
|
||||
|
|
@ -974,7 +974,7 @@ class importerAdminController extends importer
|
|||
$obj->content = base64_decode($xmlDoc->comment->content->body);
|
||||
$obj->voted_count = base64_decode($xmlDoc->comment->voted_count->body);
|
||||
$obj->blamed_count = base64_decode($xmlDoc->comment->blamed_count->body);
|
||||
$obj->password = base64_decode($xmlDoc->comment->password->body);
|
||||
$obj->password = base64_decode($xmlDoc->comment->password->body) ?: null;
|
||||
$obj->user_name =base64_decode($xmlDoc->comment->user_name->body);
|
||||
$obj->nick_name = base64_decode($xmlDoc->comment->nick_name->body);
|
||||
if(!$obj->user_name) $obj->user_name = $obj->nick_name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue