summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-04-13 21:09:46 -0400
committerMalf Furious <m@lfurio.us>2017-04-13 21:09:46 -0400
commit1b0d75037fa9c0b8e8f0265da348b2238a332931 (patch)
tree6a19a8f4dd3c370a228a4e52ef2871ee9e40bf74 /app
parent602921ebd65b8a46190bbcf1eb7a83c409f2c926 (diff)
downloadscrott-1b0d75037fa9c0b8e8f0265da348b2238a332931.tar.gz
scrott-1b0d75037fa9c0b8e8f0265da348b2238a332931.zip
Update stage function moveBackward()
Now calling refreshObj() to update altered pointers.
Diffstat (limited to '')
-rw-r--r--app/class/stage.class.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/class/stage.class.php b/app/class/stage.class.php
index 760a9a2..74c5f42 100644
--- a/app/class/stage.class.php
+++ b/app/class/stage.class.php
@@ -152,7 +152,9 @@ class stage extends object
if (!($prev = $this->getPrev()))
return false;
- return $prev->moveForward();
+ $ret = $prev->moveForward();
+ $this->refreshObj();
+ return $ret;
}
/*