Needs review
Project:
MenuTree
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2010 at 11:45 UTC
Updated:
26 Jun 2013 at 16:49 UTC
Since #520760: SA-CORE-2009-007 user signature format, FILTER_FORMAT_DEFAULT doesn't exist any more, it has been replaced by filter_fallback_format().
The attached patch does the same thing to menutree.pages.inc, avoiding Notice: Use of undefined constant FILTER_FORMAT_DEFAULT - assumed 'FILTER_FORMAT_DEFAULT' in menutree_display() (line 71 of /var/www/kolga/sites/all/modules/menutree/menutree.pages.inc) error message.
Best regards,
| Comment | File | Size | Author |
|---|---|---|---|
| menutree_filter_format_default.patch | 683 bytes | simon georges |
Comments
Comment #1
simon georges commentedApplies to the -dev version as well.
Comment #2
norgo commentedSeems the NOTICE: only is displayed if you include "Intro text" in...
admin/config/user-interface/menutree
...area
applying the patch as descried above on the beta1 version does fix the problem as it does on line 71 of the dev version.
Just a friendly confirmation note to "JohnAlbin" and those who stumble on this.
This is a great module for an alternative to Menu blocks on a mobile device with low definition where screen real estate does not permit side bars and content simultaneously.
Many thanks for its creation.