Merge branch 'feature/fix-error-on-deleting-homepage' into develop

This commit is contained in:
Flavio Copes
2015-08-07 19:29:54 +02:00
2 changed files with 18 additions and 4 deletions

View File

@@ -486,6 +486,11 @@ class Admin
if (!$page) {
$slug = basename($path);
if ($slug == '') {
return null;
}
$ppath = dirname($path);
// Find or create parent(s).