Skip to content

Commit

Permalink
[cs] Remove duplicate path in JLayoutFile #4673 (FIX: #4673)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Savov authored and infograf768 committed Oct 16, 2014
1 parent d145369 commit 20ca941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/cms/layout/file.php
Expand Up @@ -149,7 +149,7 @@ protected function getPath()

$this->fullPath = JPath::find($this->includePaths, $rawPath);

if ($this->fullPath = JPath::find($this->includePaths, $rawPath))
if ($this->fullPath)
{
$this->addDebugMessage('<strong>Found layout:</strong> ' . $this->fullPath);
}
Expand Down

0 comments on commit 20ca941

Please sign in to comment.