advancedforms / advanced-forms

WordPress plugin to create forms using Advanced Custom Fields
75 stars 14 forks source link

Fixed issue with undefined index: post_type #15

Closed Triloworld closed 7 years ago

Triloworld commented 7 years ago

This is fix for #13 I added checks if arrays have required entries. Otherwise run the same like before. Some refactoring to get this check in first place before variables are in use.

fabianlindfors commented 7 years ago

Hi! Thanks a lot for creating a PR and contributing, it's always appreciated.

I already had a fix for this lying around my local install for this so I pushed that instead, I hope you don't mind. Once again, all contributions are appreciated. :)

Thanks!