summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspleshka2012-11-15 18:26:47 (GMT)
committer spleshka2012-11-15 18:26:47 (GMT)
commit8a9bbd59ab22182f0eef2f6c15bea16975de4977 (patch)
tree293b1912ad82d11521e525796de52e03dd8f0efc
parent6ab303effac5af00f2a8cd9bcf2dc0478ddb8847 (diff)
Issue #1802636 by Moloc: path_breadcrumbs_breadcrumb does not check whether CLEAN URLs are disabled.
-rw-r--r--path_breadcrumbs.module7
1 files changed, 7 insertions, 0 deletions
diff --git a/path_breadcrumbs.module b/path_breadcrumbs.module
index 0bad934..1c25cd4 100644
--- a/path_breadcrumbs.module
+++ b/path_breadcrumbs.module
@@ -254,6 +254,13 @@ function path_breadcrumbs_breadcrumb($variables) {
global $language;
$base_string = $base_path;
+
+ // Append additional params to base string if clean urls are disabled.
+ if (!variable_get('clean_url', 0)) {
+ $base_string .= '?q=';
+ }
+
+ // Append additional params to base string for multilingual sites.
if (!empty($language->prefix)) {
$base_string .= $language->prefix . '/';
}