arturgrigor/AGImagePickerController — pull request #2 by chintan100 (2012-05-09 18:29:51+00:00)
Title: Minor bug fix to prevent crash

If you tap on "Camera Roll" in "Albums" screen when Camera Roll is empty, the app would crash because of negative row value due to "-1" in NSIndexPath method: [NSIndexPath indexPathForRow:totalRows-1 inSection:0].

Solution is to check if rows are more than 0.