mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
정렬을 사용자정의값으로 한 경우 저장 안 되는 현상 수정
eid 값이 key 에 저장되어있기에, in_array 가 아니라 array_key_exists 로 해야됨
This commit is contained in:
parent
0b3eaa410b
commit
47730c548b
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class boardAdminController extends board {
|
|||
if($args->use_anonymous != 'Y') $args->use_anonymous = 'N';
|
||||
if($args->consultation != 'Y') $args->consultation = 'N';
|
||||
if($args->protect_content!= 'Y') $args->protect_content = 'N';
|
||||
if(!in_array($args->order_target,$this->order_target) && !in_array($args->order_target, $extra_order_target)) $args->order_target = 'list_order';
|
||||
if(!in_array($args->order_target,$this->order_target) && !array_key_exists($args->order_target, $extra_order_target)) $args->order_target = 'list_order';
|
||||
if(!in_array($args->order_type, array('asc', 'desc'))) $args->order_type = 'asc';
|
||||
|
||||
// if there is an existed module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue