Changeset - 1a5fea2d7571
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-09-25 01:26:12
ohnobinki@ohnopublishing.net
Fix the issue of doubled schedule output results upon loading a saved schedule: Don't call Schedule::findPossibilities() against just because we're unserializing a saved Schedule object.
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
process.php
Show inline comments
 
@@ -61,13 +61,12 @@ if(isset($_GET['debug']))
 
	$DEBUG = $_GET['debug'];
 

	
 
if(!$DEBUG){
 

	
 
	if(isset($_GET['savedkey'])){
 
		$savedSched = unserialize($_SESSION['saved'][$_GET['savedkey']]);
 
                $savedSched->findPossibilities();
 
		$savedSched->writeoutTables();
 
	}
 
	else if(isset($_GET['delsaved'])){
 
		$_SESSION['saved'][$_GET['delsaved']] = '';
 
		$_SESSION['saved'] = array_filter($_SESSION['saved']); // Remove null entries
 
              header( 'Location: input.php' ) ;
0 comments (0 inline, 0 general)