Fix usage of ternary short hand operator resulting in errors on QNAPs PHP version