mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2029 remove notnull condition in member.getScrapDocument query
실제 사용하는 곳에 intval() 처리 추가하여 null 방어
This commit is contained in:
parent
32b8e51b47
commit
1312155aba
2 changed files with 5 additions and 5 deletions
|
|
@ -203,9 +203,9 @@ class memberController extends member
|
|||
|
||||
// Variables
|
||||
$args = new stdClass();
|
||||
$args->document_srl = $document_srl;
|
||||
$args->member_srl = $logged_info->member_srl;
|
||||
$args->folder_srl = $default_folder_srl;
|
||||
$args->document_srl = intval($document_srl);
|
||||
$args->member_srl = intval($logged_info->member_srl);
|
||||
$args->folder_srl = intval($default_folder_srl);
|
||||
$args->user_id = $oDocument->get('user_id');
|
||||
$args->user_name = $oDocument->get('user_name');
|
||||
$args->nick_name = $oDocument->get('nick_name');
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<column name="count(document_srl)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="member_srl" var="member_srl" notnull="notnull" />
|
||||
<condition operation="equal" column="document_srl" var="document_srl" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="member_srl" var="member_srl" />
|
||||
<condition operation="equal" column="document_srl" var="document_srl" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue