OC Coding Style: Unterschied zwischen den Versionen
fixed some syntax errors at ends of SQL-Strings
K (→SQL) |
(fixed some syntax errors at ends of SQL-Strings) |
||
Zeile 29: | Zeile 29: | ||
FROM `caches` | FROM `caches` | ||
JOIN `cache_logs` ON `cache_logs`.`cache_id` = `caches`.`cache_id` | JOIN `cache_logs` ON `cache_logs`.`cache_id` = `caches`.`cache_id` | ||
WHERE `caches`.`status` IN ('&1', '&2')" | WHERE `caches`.`status` IN ('&1', '&2')", | ||
$status1, | $status1, | ||
$status2 | $status2 | ||
Zeile 50: | Zeile 50: | ||
WHERE | WHERE | ||
`caches`.`status` = '&2' | `caches`.`status` = '&2' | ||
AND `cache_logs`.`user_id` = '&3' | AND `cache_logs`.`user_id` = '&3'", | ||
$logType, | $logType, | ||
$cacheStatus, | $cacheStatus, |