Changeset - 4f47ac8570ac
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-10-11 10:58:07
ohnobinki@ohnopublishing.net
Only access $this->school after first loading the school profile.
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
inc/class.page.php
Show inline comments
 
@@ -89,19 +89,19 @@ class page
 

	
 
       $this->trackingcode .= '  ' . ($this->xhtml ? ']]>'       : '') . "\n"
 
	 . "  </script>\n";
 
     }
 

	
 
   self::session_start();
 
    /* everything that needs sessions started to work: */
 

	
 
    $this->school = school_load_guess();
 

	
 
    if($immediate
 
       && $ntitle != "NOHEAD")
 
      $this->head();
 

	
 
    /* everything that needs sessions started to work: */
 

	
 
    $this->school = school_load_guess();
 
 }
 

	
 
  /**
 
   * \brief
 
   *   Adds some headcode to this page.
 
   *
0 comments (0 inline, 0 general)