瀏覽代碼

bugfixe
= []; is not working on production server

Bachir Soussi Chiadmi 9 年之前
父節點
當前提交
4237cb8edb
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      materio_search_api.module

+ 2 - 2
materio_search_api.module

@@ -774,8 +774,8 @@ function materio_search_api_advanced_search_form($form, &$form_state){
 
         $classes2 = array("treelevel2", $child->tid);
 
-        $options2 = [];
-        $dflt_values2 = [];
+        $options2 = array();
+        $dflt_values2 = array();
         foreach ($children2 as $tid2 => $child2) {
           // $child2 = taxonomy_term_load($child2->tid);
           // if($child2->field_used_on_advanced_search['und'][0]['value'] == 0){