diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm index c56a6401..0a1fc2ad 100644 --- a/src/client/ios/Breakpad.mm +++ b/src/client/ios/Breakpad.mm @@ -341,7 +341,7 @@ bool Breakpad::ExtractParameters(NSDictionary *parameters) { } } - if (!version) + if (!version.length) // Default nil or empty string to CFBundleVersion version = [parameters objectForKey:@"CFBundleVersion"]; if (!vendor) {