aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/profile/start.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/mod/profile/start.php b/mod/profile/start.php
index 2b4d08c5d..d9909aab2 100644
--- a/mod/profile/start.php
+++ b/mod/profile/start.php
@@ -153,10 +153,11 @@
}
}
-
- // Include the standard profile index
- include($CONFIG->pluginspath . "profile/index.php");
-
+ else
+ {
+ // Include the standard profile index
+ include($CONFIG->pluginspath . "profile/index.php");
+ }
}
/**