@@ -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( |
@@ -2743,7 +2743,7 @@ |
||
| 2743 | 2743 | $tags = explode(':', $tag); |
| 2744 | 2744 | $origlevel = $level; |
| 2745 | 2745 | if ($level == 0) { |
| 2746 | - $level = $gedrec{0} + 1; |
|
| 2746 | + $level = $gedrec{0} +1; |
|
| 2747 | 2747 | } |
| 2748 | 2748 | |
| 2749 | 2749 | $subrec = $gedrec; |