@@ -190,14 +190,14 @@ |
||
| 190 | 190 | $tpl->assign( |
| 191 | 191 | 'other_report_in_progress', |
| 192 | 192 | sql_value( |
| 193 | - "SELECT `id` |
|
| 193 | + "SELECT `id` |
|
| 194 | 194 | FROM `cache_reports` |
| 195 | 195 | WHERE `cacheid`='&1' AND `id`<>'&2' AND `status`='&3' |
| 196 | 196 | LIMIT 1", |
| 197 | - null, |
|
| 198 | - $record['cacheid'], |
|
| 199 | - $record['id'], |
|
| 200 | - CACHE_REPORT_INPROGRESS |
|
| 197 | + null, |
|
| 198 | + $record['cacheid'], |
|
| 199 | + $record['id'], |
|
| 200 | + CACHE_REPORT_INPROGRESS |
|
| 201 | 201 | ) !== null |
| 202 | 202 | ); |
| 203 | 203 | |