Changeset - 9aa851a94532
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2011-04-10 13:39:26
ohnobinki@ohnopublishing.net
Fix variable typo.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
inc/school.inc
Show inline comments
 
@@ -162,25 +162,25 @@ function school_load_guess($update_sessi
 
	      else
 
		$domain_school = NULL;
 
	    }
 
	  /*
 
	   * by now, $domain_school is either NULL or the school_id of
 
	   * the school we want.
 
	   */
 
	  if ($domain_school)
 
	    {
 
	      $school = school_load($domain_school);
 
	      if ($school)
 
		{
 
		  if ($update_sesssion)
 
		  if ($update_session)
 
		    $_SESSION['school'] = $domain_school;
 
		  return school_load($domain_school);
 
		}
 
	    }
 
	}
 
    }
 

	
 
  /*
 
   * set something in $_SESSION so that the gethostbyaddr() call
 
   * doesn't have to be done too often. (the isset() call above should
 
   * detect even the empty string).
 
   */
0 comments (0 inline, 0 general)