Fixing php opening/closing brackets.