[이윰] 이윰 메뉴 설정에서 출력 순서로 인한 오류 발생시
페이지 정보
루루아빠
3,990 1
2015.04.09 11:17:06
짧은주소
-
https://yadolee.com/tip/116 주소복사
본문
그누보드5 설치된 폴더/adm/eyoom_admin/menu_form_update.php를 열어 다음 소스를 찾는다.
// 출력순서 중복값 예외처리
if($_POST['me_order'] != $_POST['me_order_prev']) {
$_code = substr($_POST['me_code'],0,-3);
if($_code) $where = " and me_code like '{$_code}%' ";
else $where = " and length(me_code)=3 ";
위 소스를 아래와 같이 수정한다.
// 출력순서 중복값 예외처리
if($_POST['me_order'] != $_POST['me_order_prev']) {
$_code = substr($_POST['me_code'],0,-3);
if($_code) $where = " and me_code like '{$_code}%' and length(me_code)>'".strlen($_code)."' ";
else $where = " and length(me_code)=3 ";
추천인
레벨 101
경험치 1,519,440
Progress Bar 14.66%
- 가입일 : 2015-03-04 03:24:54
- 서명 : KNOW YOUR LIMITS
BUT NEVER STOP TRYING TO EXCEED THEM !!
- 자기소개 : 루루의 자랑
루루아빠랍니다~~
최신댓글이 없습니다.


댓글1
루루아빠님의 댓글