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" ); }