@@ -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 | } |
@@ -2468,7 +2468,7 @@ |
||
2468 | 2468 | echo '<td class="facts_label">'; |
2469 | 2469 | if ($key == 0) { |
2470 | 2470 | $key_mark = 0; |
2471 | - } elseif ($gmark['place'] == $gmarks[$key-1]['place']) { |
|
2471 | + } elseif ($gmark['place'] == $gmarks[$key - 1]['place']) { |
|
2472 | 2472 | $key_mark = $key_mark; |
2473 | 2473 | } else { |
2474 | 2474 | $key_mark++; |