Changeset - 28ca95f26983
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2011-04-10 12:54:56
ohnobinki@ohnopublishing.net
Fix upgrading of Section class in Section::__wakeup() where a PHP notice was issued.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
inc/class.section.php
Show inline comments
 
@@ -283,10 +283,10 @@ class Section
 
	unset($this->start);
 
      }
 
    elseif (!empty($this->prof))
 
      /* Move the instructor (old $this->prof) property to our SectionMeeting children */
 
      foreach ($this->meetings as $meeting)
 
      {
 
	$meeting->instructor_set($this->prof);
 
	/* Move the instructor (old $this->prof) property to our SectionMeeting children */
 
	foreach ($this->meetings as $meeting)
 
	  $meeting->instructor_set($this->prof);
 
	unset($this->prof);
 
      }
 
  }
0 comments (0 inline, 0 general)