Changeset 29431 for trunk/include
- Timestamp:
- Sep 8, 2014, 11:48:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_search.inc.php
r29022 r29431 71 71 foreach ($search['fields'][$textfield]['words'] as $word) 72 72 { 73 $local_clauses[] = $textfield." LIKE '%".$word."%'"; 73 if ('author' == $textfield) 74 { 75 $local_clauses[] = $textfield."='".$word."'"; 76 } 77 else 78 { 79 $local_clauses[] = $textfield." LIKE '%".$word."%'"; 80 } 74 81 } 75 82
Note: See TracChangeset
for help on using the changeset viewer.