diff options
| author | Malf Furious <m@lfurio.us> | 2017-06-03 17:24:31 -0400 | 
|---|---|---|
| committer | Malf Furious <m@lfurio.us> | 2017-06-03 17:24:31 -0400 | 
| commit | eb4b42f32856b0e5616b700614c8c68d77cd0ea3 (patch) | |
| tree | 87fae3eec36c1ae5bc1c416838a7eecfe69570c1 /app/class/issue.class.php | |
| parent | 37db482851a7724520e5db7aef89dcd8490cc081 (diff) | |
| download | scrott-eb4b42f32856b0e5616b700614c8c68d77cd0ea3.tar.gz scrott-eb4b42f32856b0e5616b700614c8c68d77cd0ea3.zip | |
issue:  Fix bug in function advance()
The call to setParent() should have been in an else.  It was being
called every time...
Diffstat (limited to 'app/class/issue.class.php')
| -rw-r--r-- | app/class/issue.class.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/class/issue.class.php b/app/class/issue.class.php index e439dff..1286e1a 100644 --- a/app/class/issue.class.php +++ b/app/class/issue.class.php @@ -100,8 +100,8 @@ class issue extends object          if (!($next = $stage->getNext()))              $this->close(); - -        $this->setParent($next); +        else +            $this->setParent($next);      }      /* | 
