Browse Source

Merge pull request #4107 from luke83/patch-1

Correct paths in missing_layout suggestions
ADmad 11 years ago
parent
commit
4f4b26f600
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/View.php

+ 1 - 1
src/View/View.php

@@ -892,7 +892,7 @@ class View {
 			}
 		}
 		throw new Error\MissingLayoutException(array(
-			'file' => $layoutPath[0] . $name . $this->_ext
+			'file' => $layoutPaths[0] . $name . $this->_ext
 		));
 	}