Просмотр исходного кода

addind´g source field to import

master
Daniel 3 лет назад
Родитель
Сommit
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"
);
}


Загрузка…
Отмена
Сохранить