step_get puo' rendere false
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 23 Apr 2007 07:44:43 +0000 (07:44 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Mon, 23 Apr 2007 07:44:43 +0000 (07:44 +0000)
web/index_rd.php

index 20a7c14..4565b54 100644 (file)
@@ -95,8 +95,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su
     return (FALSE);
   }
     
-  if (validate_sess($sess)) {
-    $proxy_step = step_get($sess);
+  if (($proxy_step = step_get($sess)) != FALSE) {
     // log_rd2($sess, "Postget".$proxy_step."zizi");
 
     if ($cur_step == $proxy_step) {