Created
January 9, 2015 03:24
-
-
Save sanglt/0b48bcc60b0db58027bd to your computer and use it in GitHub Desktop.
Error : Call to undefined function purl_item_edit_validate()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/purl.module b/purl.module | |
| index 955b989..141ad10 100644 | |
| --- a/purl.module | |
| +++ b/purl.module | |
| @@ -98,7 +98,7 @@ function purl_form_alter(&$form, &$form_state, $form_id) { | |
| case 'menu_edit_menu': | |
| case 'menu_edit_item': | |
| case 'redirect_edit_form': | |
| - module_load_include('inc', 'purl', 'purl.admin'); | |
| + form_load_include($form_state, 'inc', 'purl', 'purl.admin'); | |
| _purl_form_alter($form, $form_state, $form_id); | |
| break; | |
| case 'views_exposed_form': |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment