Closed (fixed)
Project:
CKEditor Link
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2011 at 23:08 UTC
Updated:
27 Sep 2011 at 21:40 UTC
Apache throws an error when you try to access the administration page and the menu module is not enabled.
Although it's not likely to use Drupal without the menu module, it is possible. I'm attaching a simple patch to only load the menu include file if the menu module is enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| ckeditor_link-7x-2.0-disabledmenu.patch | 716 bytes | KeyboardCowboy |
Comments
Comment #1
anrikun commentedHey thank you!
I wanted CKEditor Link to allow links to menu item paths even when the menu module is not enabled.
That's why I had tried to use only functions from menu.inc but it seems that I missed something.
Will fix this ASAP!
Comment #2
anrikun commented@KeyboardCowboy: I could not commit your patch as is because ckeditor_link_ckeditor_link_menu_revert() should stay enabled even if the Menu module is not.
Therefore I moved the module_exists() check into ckeditor_link_ckeditor_link_menu_settings().
This is now fixed in the new 6.x-2.1 and 7.x-2.1.
Thank you again for your report!
Comment #3
KeyboardCowboyMy pleasure! Glad I could contribute something back.
Comment #4
anrikun commented