-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #2290 관리자가 회원 메모를 삭제할수 없는 문제 수정 #2292
Conversation
modules/member/member.controller.php
Outdated
if(!$args->description) $args->description = $orgMemberInfo->description; | ||
|
||
// BUGFIX 관리자가 회원 메모를 삭제할수 없는 문제 수정 https://github.com/xpressengine/xe-core/issues/2290 | ||
if(!isset($args->description)) $args->description = $orgMemberInfo->description; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
결국은 기존 내용을 그대로 비슷하게 검사하는 것으로 보여집니다.
그냥 isset으로 내용이 설정이 안되어있다면 내용을 null으로 만들어서 빈값으로 들어가도록 하는것은 어떤가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bjrambo XML 쿼리에서는 null을 넣으면 아예 해당컬럼을 UPDATE문에서 빼버리지 않나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kijin 아.. 그렇네요.. 시리얼라이즈 스트링으로 만든 값을 저장하는 방식이랑 착각 했습니다.. 어찌되었던 빈 스트링값이라도 넘겨야할것 같아요.
관리자 화면에서 회원 메모를 비우면 NULL이 넘어와 기존값이 사용되는 문제점 고침
관리자가 회원 메모를 비우면 NULL이 넘어가서 메모가 변경되지 않는 문제점을 수정합니다.