[이윰] 이윰 메뉴 설정시 사용중인 출력순서 에러 해결하기
페이지 정보
루루아빠
3,551 1
2015.05.12 23:00:23
짧은주소
-
https://yadolee.com/tip/145 주소복사
본문
그누보드5/adm/eyoom_admin/menu_form_update.php 열어 다음 소스를 찾는다.
수정 전
수정 후
라인 61번 소스를 수정했다.
수정 전
// 출력순서 중복값 예외처리
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}%' ";
if($_code) $where = " and me_code like '{$_code}%' and length(me_code)>'".strlen($_code)."' "; // 루루아빠 수정 / 사용중인 출력순서 에러 해결
else $where = " and length(me_code)=3 ";
라인 61번 소스를 수정했다.
추천인 1
레벨 101
경험치 1,519,440
Progress Bar 14.66%
- 가입일 : 2015-03-04 03:24:54
- 서명 : KNOW YOUR LIMITS
BUT NEVER STOP TRYING TO EXCEED THEM !!
- 자기소개 : 루루의 자랑
루루아빠랍니다~~
최신댓글이 없습니다.


댓글
첫 번째 댓글을 남겨 주세요