Skip to content

Commit

Permalink
[cs] Remove duplicate path in JLayoutFile joomla#4673 (FIX: joomla#4673)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Savov authored and rdeutz committed Oct 21, 2014
1 parent 49e8b2e commit ed3506d
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 ed3506d

Please sign in to comment.