Introduced ttAdmin class for admin tasks.
[timetracker.git] / WEB-INF / lib / ttImportHelper.class.php
index ff2ea3c..55fd154 100644 (file)
@@ -245,7 +245,6 @@ class ttImportHelper {
     if ($name == 'LOG_ITEM' && $this->canImport) {
       $this->logMap[$this->currentElement['ID']] =
         ttTimeHelper::insert(array(
-          'timestamp' => $this->currentElement['TIMESTAMP'],
           'user_id' => $this->userMap[$this->currentElement['USER_ID']],
           'date' => $this->currentElement['DATE'],
           'start' => $this->currentElement['START'],
@@ -322,6 +321,7 @@ class ttImportHelper {
         'chclient' => (int) $this->currentElement['SHOW_CLIENT'],
         'chinvoice' => (int) $this->currentElement['SHOW_INVOICE'],
         'chpaid' => (int) $this->currentElement['SHOW_PAID'],
+        'chip' => (int) $this->currentElement['SHOW_IP'],
         'chproject' => (int) $this->currentElement['SHOW_PROJECT'],
         'chstart' => (int) $this->currentElement['SHOW_START'],
         'chduration' => (int) $this->currentElement['SHOW_DURATION'],