Changeset - a24bc42b43e5
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 13 years ago 2012-10-15 08:46:52
ohnobinki@ohnopublishing.net
Fix autocomplete of departments for schools which do not crawl human-friendly department names, such as cedarville.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
auto.php
Show inline comments
 
@@ -134,7 +134,7 @@ if (!$getsections && count($term_parts) 
 
    if (count($json_depts) == 1)
 
      {
 
	$dept = $json_depts[0];
 
	if (!empty($dept['value']))
 
	if (is_array($dept) && !empty($dept['value']))
 
	  $dept = $dept['value'];
 

	
 
	page::redirect('auto.php' . page::query_string(array('term' => $dept . '-') + $_GET));
0 comments (0 inline, 0 general)