Ignore:
Timestamp:
Oct 4, 2012, 9:01:28 AM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Přejmenovaná tabulka network_device a hosts_topology.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/finance/finance.php

    r408 r409  
    165165      $Cash = $Cash[0];
    166166   
    167       $DbResult2 = $this->Database->query('SELECT SUM(consumption) FROM network_devices WHERE (user='.$Member['Id'].') AND (used = 1)');
     167      $DbResult2 = $this->Database->query('SELECT SUM(Consumption) FROM Product WHERE (User='.$Member['Id'].') AND (used = 1)');
    168168      $ConsumptionPlus = $DbResult2->fetch_row();
    169169      $ConsumptionPlus = $ConsumptionPlus[0];
Note: See TracChangeset for help on using the changeset viewer.