diff --git a/.idea/php.xml b/.idea/php.xml
index 2a1af823d..4dfa85b9d 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -240,6 +240,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/Domain/Sprints/Templates/sprintdialog.tpl.php b/app/Domain/Sprints/Templates/sprintdialog.tpl.php
index fd9a96dff..3aaf76c67 100644
--- a/app/Domain/Sprints/Templates/sprintdialog.tpl.php
+++ b/app/Domain/Sprints/Templates/sprintdialog.tpl.php
@@ -20,19 +20,19 @@
+ projectId == $projectId || $currentProject == $projectId)) ||
+ (!isset($currentSprint) && $currentProject == $projectId);
+ }
+
+ $currentProject = session('currentProject');
+ ?>