mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Merge pull request #1142 from sejin7940/sort_extra
정렬을 사용자정의값으로 한 경우 저장 안 되는 현상 수정
This commit is contained in:
commit
26d5361e15
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