From 0e71359d7e59dd67fd2d2343d40f39f84497c553 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 15 Aug 2022 11:01:11 +0200 Subject: [PATCH] =?UTF-8?q?addind=C2=B4g=20source=20field=20to=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- httpdocs/src/Controller/BackendController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/httpdocs/src/Controller/BackendController.php b/httpdocs/src/Controller/BackendController.php index 33ab71f..1e8d2df 100644 --- a/httpdocs/src/Controller/BackendController.php +++ b/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" ); }