@@ -85,7 +85,7 @@ |
||
| 85 | 85 | if ($characterDeficit == 0) { |
| 86 | 86 | //If the word is full and we're not short any characters, ignore the character |
| 87 | 87 | continue; |
| 88 | - }else |
|
| 88 | + } else |
|
| 89 | 89 | $characterDeficit--; //If we are short some characters, decrement the defecit and carry on with adding the character to the abbreviation |
| 90 | 90 | } |
| 91 | 91 | $abbreviation .= $currentChar; //Add the character to the abbreviation |