@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | $top10 = DB::table('hit_counter') |
72 | 72 | ->where('gedcom_id', '=', $tree->id()) |
73 | - ->whereIn('page_name', ['individual.php','family.php','source.php','repo.php','note.php','mediaviewer.php']) |
|
73 | + ->whereIn('page_name', ['individual.php', 'family.php', 'source.php', 'repo.php', 'note.php', 'mediaviewer.php']) |
|
74 | 74 | ->orderByDesc('page_count') |
75 | 75 | ->limit((int) $num) |
76 | 76 | ->pluck('page_count', 'page_parameter'); |
@@ -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 | ' ' => '%', |