Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
/**
* Returns TRUE if 'menu_links_features_export_render' is in the callstack.
*/
function _menu_token_is_called_from_features() {
...
if (version_compare(PHP_VERSION, '5.3.6', '>=') { <----------------
$callstack = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
}
...
return !$called;
}
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_token-syntax_error-2430035-1.patch | 596 bytes | m.lebedev |
Comments
Comment #1
m.lebedev CreditAttribution: m.lebedev commentedComment #2
m.lebedev CreditAttribution: m.lebedev commentedComment #3
DevElCuy CreditAttribution: DevElCuy commentedGood catch @m.lebedev!
Comment #5
DevElCuy CreditAttribution: DevElCuy commented