Commit 17593824 authored by jcnventura's avatar jcnventura

Issue #891116 by NaX: if configured, don't display url lists in system pages

parent 8deb0c87
......@@ -423,7 +423,7 @@ function _print_friendly_urls($url = 0) {
*/
function _print_url_list_enabled($node, $format = PRINT_HTML_FORMAT) {
if (!isset($node->type)) {
return TRUE;
return variable_get('print_urls', PRINT_URLS_DEFAULT);
}
switch ($format) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment