Changeset 764 for trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
- Timestamp:
- Nov 5, 2015, 11:19:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
r761 r764 101 101 { 102 102 $Output = ''; 103 $DbResult = $this->Database->select('FinanceBankAccount', 'Id, Comment', 104 '(`AutoImport`=1) AND ((`TimeEnd` IS NULL) OR (`TimeEnd` > NOW()))'); 103 $DbResult = $this->Database->select('FinanceBankAccount', '`Id`, `Comment`', 104 '(`AutoImport`=1) AND (`TimeCreate` < NOW()) AND '. 105 '((`TimeEnd` IS NULL) OR (`TimeEnd` > NOW()))'); 105 106 while($DbRow = $DbResult->fetch_assoc()) 106 107 { 107 108 echo($DbRow['Comment']."\n"); 108 109 $Page = new PageImportAPI($this->System); 109 $Output .= $Page-> Show();110 $Output .= $Page->Import($DbRow['Id']); 110 111 } 111 112 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.