From: Jakub Skoczen Date: Thu, 7 Apr 2011 08:32:13 +0000 (+0200) Subject: Fix syntax. X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=e7974301fd58b137ee8d8a87c43bbe9abf37d1a0;p=mkdru-moved-to-drupal.org.git Fix syntax. That's what happens when you canot push from the srver where the files were changed. --- 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 {