Permalink
Browse files

Correct errors retrieving some nested pages

  • Loading branch information...
1 parent 7bf0fa5 commit c3464ea61fe3b6f20ff4b130044bfd3ba7a5b7cc @kolber committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/asset-types/asset-factory.inc.php
View
4 app/asset-types/asset-factory.inc.php
@@ -12,8 +12,8 @@ static function extract_page_data($asset_path) {
$page_path = implode('/', $path);
# return any page data scoped against the asset filename
- $page_data = self::$store[$page_path];
- return isset($page_data[$file_name]) ? $page_data[$file_name] : false;
+ $page_data = self::get($page_path);
+ return isset($page_data[strtolower($file_name)]) ? $page_data[strtolower($file_name)] : false;
}
static function &create($file_path) {

0 comments on commit c3464ea

Please sign in to comment.