aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/views.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 24b25ffd0..144595c50 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -951,10 +951,10 @@ function elgg_view_layout($layout_name, $vars = array()) {
$param_array = $vars;
}
- if (elgg_view_exists("canvas/layouts/{$layout_name}")) {
- return elgg_view("canvas/layouts/{$layout_name}", $param_array);
+ if (elgg_view_exists("layouts/{$layout_name}")) {
+ return elgg_view("layouts/{$layout_name}", $param_array);
} else {
- return elgg_view("canvas/default", $param_array);
+ return elgg_view("layouts/default", $param_array);
}
}