Project

General

Profile

« Previous | Next » 

Revision 01fff74a

Added by Andreas Kohlbecker almost 8 years ago

avoiding php Strict warning

View differences:

modules/cdm_dataportal/cdm_dataportal.search.php
134 134
  $search_results = cdm_ws_get(CDM_WS_TAXON_SEARCH, NULL, queryString($queryParams));
135 135
  foreach($search_results->records as $record){
136 136
      $titleCache = $record->entity->titleCache;
137
      preg_match('/(.*) sec.*/', $titleCache, $trimmedTitle);//remove sec reference
137
      preg_match('/(.*) sec.*/', $titleCache, $trimmedTitle); //remove sec reference
138 138
      $trimmedTitle = trim($trimmedTitle[1]);
139 139
      $matches[$trimmedTitle] = $trimmedTitle;
140 140
  }
......
154 154
 * @param bool $advanced_form
155 155
 *   default is FALSE
156 156
 * @param bool $classification_select
157
 *   set TRUE to offer a classifiaction selector in the form - default is FALSE
157
 *   set TRUE to offer a classification selector in the form - default is FALSE
158 158
 *   if only available in the advanced mode
159 159
 *
160 160
 * @return array

Also available in: Unified diff