소스 검색

addind´g source field to import

master
Daniel 3 년 전
부모
커밋
0e71359d7e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      httpdocs/src/Controller/BackendController.php

+ 3
- 1
httpdocs/src/Controller/BackendController.php 파일 보기

@@ -128,6 +128,7 @@ class BackendController extends AbstractController
$unique_users = (int)$activesheet->getCell('N'.$row)->getCalculatedValue();
$page_impressions = (int)$activesheet->getCell('P'.$row)->getCalculatedValue();
$visits = (int)$activesheet->getCell('R'.$row)->getCalculatedValue();
$source = $activesheet->getCell('W'.$row)->getValue();

$range = $range !== 0 ? $range : "";
$edition = $edition !== 0 ? $edition : "";
@@ -145,7 +146,8 @@ class BackendController extends AbstractController
"`social_contacts`='$social_contacts',".
"`unique_user`='$unique_users',".
"`page_impressions`='$page_impressions',".
"`visits`='$visits'".
"`visits`='$visits',".
"`source`= $source".
" WHERE `id` = $id"
);
}


불러오는 중...
취소
저장