mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
checked for one argument too less
This commit is contained in:
@@ -492,7 +492,7 @@
|
||||
NSString *title = [arguments objectAtIndex:1];
|
||||
NSString *imageName = nil;
|
||||
|
||||
if (arguments.count >= 2)
|
||||
if (arguments.count > 2)
|
||||
{
|
||||
imageName = [arguments objectAtIndex:2];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user