@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 8 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 9 | 8 | |
| 10 | 9 | class AutomatedEditsController extends Controller |
| 11 | 10 | { |
@@ -155,8 +155,8 @@ |
||
| 155 | 155 | $rev = $lh->getTable("revision", $dbName); |
| 156 | 156 | $arc = $lh->getTable("archive", $dbName); |
| 157 | 157 | |
| 158 | - $cond_begin = ( $start ) ? " AND rev_timestamp > :start " : null; |
|
| 159 | - $cond_end = ( $end ) ? " AND rev_timestamp < :end ": null; |
|
| 158 | + $cond_begin = ($start) ? " AND rev_timestamp > :start " : null; |
|
| 159 | + $cond_end = ($end) ? " AND rev_timestamp < :end " : null; |
|
| 160 | 160 | |
| 161 | 161 | foreach ($AEBTypes as $toolname => $check) { |
| 162 | 162 | $toolname = $dbh->quote($toolname, \PDO::PARAM_STR); |