Incorrect message when directory is not writable

When directory is not writable and user tries to upload file, the error message returned says " or executable", but it should be "Server error. Uploads directory isn't writable". That's because ternary operator has left associativity and lower precedence than string operator. Adding more brackets is enough to fix this.