diff options
| -rw-r--r-- | app/class/stage.class.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/class/stage.class.php b/app/class/stage.class.php index 31f6a94..150ac5d 100644 --- a/app/class/stage.class.php +++ b/app/class/stage.class.php @@ -66,7 +66,7 @@ class stage extends object       */      public function getPrev() : ?stage      { -        $pad = new pad($this->getParent()); +        $pad = $this->getParent();          if ($pad->stage == $this->guid)              return NULL; @@ -107,7 +107,7 @@ class stage extends object              return false;          if (!($prev = $this->getPrev())) -            $prev = new pad($this->getParent()); +            $prev = $this->getParent();          $tmp = $next->stage;          $prev->stage = $next->guid; | 
