Changeset - 2563473a88be
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-10-16 13:27:48
ohnobinki@ohnopublishing.net
Fix some variable names.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
auto.php
Show inline comments
 
@@ -73,10 +73,10 @@ if (!$getsections && count($term_parts) 
 
    $dept_file = $cache_dir . '-depts';
 
    if (!file_exists($dept_file))
 
      clean_empty_exit();
 
    $deptartments = unserialize(file_get_contents($dept_file));
 
    foreach ($deptartments as $key => $department)
 
    $departments = unserialize(file_get_contents($dept_file));
 
    foreach ($departments as $key => $department)
 
      {
 
	if (!strncmp($department, $dept, $term_strlen))
 
	if (!strncmp($department, $dept, $dept_strlen))
 
	  $departments[$key] = $department;
 
	else
 
	  unset($departments[$key]);
0 comments (0 inline, 0 general)