@@ -85,8 +85,7 @@ |
||
85 | 85 | // Create the underlying PDO object |
86 | 86 | self::$pdo = new PDO( |
87 | 87 | (substr($DBHOST, 0, 1) === '/' ? |
88 | - "mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : |
|
89 | - "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}" |
|
88 | + "mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}" |
|
90 | 89 | ), |
91 | 90 | $DBUSER, $DBPASS, |
92 | 91 | array( |
@@ -63,7 +63,7 @@ |
||
63 | 63 | while (list(, $next) = each($queue)) { |
64 | 64 | // For each family on the path |
65 | 65 | for ($n = count($next['path']) - 2; $n >= 1; $n -= 2) { |
66 | - $exclude = $next['exclude']; |
|
66 | + $exclude = $next['exclude']; |
|
67 | 67 | if (count($exclude) >= $recursion) { |
68 | 68 | continue; |
69 | 69 | } |
@@ -2472,7 +2472,7 @@ |
||
2472 | 2472 | foreach ($gmarks as $key => $gmark) { |
2473 | 2473 | echo '<tr>'; |
2474 | 2474 | echo '<td class="facts_label">'; |
2475 | - echo '<a href="#" onclick="return myclick(\'', Filter::escapeHtml((string)array_search($gmark['place'], $gunique)), '\')">', $gmark['fact_label'], '</a></td>'; |
|
2475 | + echo '<a href="#" onclick="return myclick(\'', Filter::escapeHtml((string) array_search($gmark['place'], $gunique)), '\')">', $gmark['fact_label'], '</a></td>'; |
|
2476 | 2476 | echo '<td class="', $gmark['class'], '" style="white-space: normal">'; |
2477 | 2477 | if ($gmark['info']) { |
2478 | 2478 | echo '<span class="field">', Filter::escapeHtml($gmark['info']), '</span><br>'; |