Changeset - aeac5bc1b8bc
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-10-21 18:46:51
ohnobinki@ohnopublishing.net
Use a defined variable and array index.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
class.schedule.php
Show inline comments
 
@@ -288,13 +288,13 @@ class Schedule
 
		$table .= "          <tr>\n"
 
		  . "            <td class=\"time\">" . $this->prettyTime($time[$r]) . "</td>\n";
 

	
 
		for($dayLoop = 0; $dayLoop < 5; $dayLoop++)
 
		{
 
		  /* Makes sure there is not a class already in progress */
 
		  if($rowspan[$lastDay] <= 0)
 
		  if($rowspan[$dayLoop] <= 0)
 
		    {
 
		      for($j = 0; $j < $this->nclasses; $j++)
 
			{
 
			  $class = $this->classStorage[$j];
 
			  $section_index = $this->storage[$i][$j];
 
			  $section = $class->getSection($section_index);
0 comments (0 inline, 0 general)