Skip to content

Commit

Permalink
fixed namespace for exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pkerspe committed Jul 4, 2015
1 parent 3d996e4 commit 3ab7de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/backend/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public static function getMenuTree($language, $expandLevel, $hideMissingLanguage
DefaultController::populateChildrenRecursive ( $rootItem, $itemIndex, $expandLevel, 1 );
return $rootItem;
} else {
throw new Exception('Missing root hierarchy item (with id = '.DefaultController::$ROOT_HIERARCHY_ITEM_ID.'). Can not build page tree.');
throw new \Exception('Missing root hierarchy item (with id = '.DefaultController::$ROOT_HIERARCHY_ITEM_ID.'). Can not build page tree.');
}
return null;
}
Expand Down

0 comments on commit 3ab7de5

Please sign in to comment.