summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/class/pad.class.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/class/pad.class.php b/app/class/pad.class.php
index 38812d6..dcf2b32 100644
--- a/app/class/pad.class.php
+++ b/app/class/pad.class.php
@@ -91,6 +91,9 @@ class pad extends obj
*/
public function getStages() : array
{
+ if (!isset($this->stage) || $this->stage == "")
+ return array();
+
$stage = new stage($this->stage);
return $stage->getArray();
}