From e7974301fd58b137ee8d8a87c43bbe9abf37d1a0 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Thu, 7 Apr 2011 10:32:13 +0200 Subject: [PATCH] Fix syntax. That's what happens when you canot push from the srver where the files were changed. --- mkdru.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdru.module b/mkdru.module index b1bde08..53f6633 100644 --- a/mkdru.module +++ b/mkdru.module @@ -24,7 +24,7 @@ function mkdru_ting_search_tab($keys) { // D6 seems not to be able to handle external scripts // assume one if path starts with http: // assume alias if path starts with / - if (preg_match('/^http:/') || preg_match('/^\//') { + if (preg_match('/^http:/') || preg_match('/^\//')) { drupal_add_js(variable_get('pz2_js_path', 'pazpar2/js') . '/pz2.js', 'module', 'footer', TRUE, TRUE, FALSE); } else { -- 1.7.10.4