@@ -494,7 +494,7 @@ |
||
494 | 494 | // ... and process the differences |
495 | 495 | $inserted = 0; |
496 | 496 | if (!empty($diff)) { |
497 | - $nextRecordId = 1 + (int) DB::table('placelocation')->max('pl_id'); |
|
497 | + $nextRecordId = 1 + (int) DB::table('placelocation')->max('pl_id'); |
|
498 | 498 | |
499 | 499 | foreach ($diff as $place) { |
500 | 500 | // For Westminster, London, England, we must also create England and London, England |
@@ -103,7 +103,7 @@ |
||
103 | 103 | $pages = []; |
104 | 104 | |
105 | 105 | // Escape the query for MySQL and PHP, converting spaces to wildcards. |
106 | - $like_query = strtr($query, [ |
|
106 | + $like_query = strtr($query, [ |
|
107 | 107 | '_' => '\\_', |
108 | 108 | '%' => '\\%', |
109 | 109 | ' ' => '%', |
@@ -28,7 +28,7 @@ |
||
28 | 28 | { |
29 | 29 | public const RECORD_TYPE = 'SOUR'; |
30 | 30 | |
31 | - protected const ROUTE_NAME = 'source'; |
|
31 | + protected const ROUTE_NAME = 'source'; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * A closure which will create a record from a database row. |