Skip to content

Commit

Permalink
T3Depend: Update Joomla 3.2 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Nov 7, 2013
1 parent cf57779 commit a28cc7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/plg_system_t3/includes/depend/t3filelist.php
Expand Up @@ -57,7 +57,7 @@ protected function getOptions()
// update path to this template
$path = (string) $this->element['directory'];
if (!is_dir($path)) {
$this->element['directory'] = T3_TEMPLATE_PATH . DIRECTORY_SEPARATOR . $path;
$this->directory = $this->element['directory'] = T3_TEMPLATE_PATH . DIRECTORY_SEPARATOR . $path;
}

return parent::getOptions();
Expand Down
3 changes: 1 addition & 2 deletions source/plg_system_t3/includes/depend/t3folderlist.php
Expand Up @@ -52,9 +52,8 @@ protected function getOptions()
$path = (string) $this->element['directory'];
if (!is_dir($path))
{
$this->element['directory'] = T3_TEMPLATE_PATH . DIRECTORY_SEPARATOR . $path;
$this->directory = $this->element['directory'] = T3_TEMPLATE_PATH . DIRECTORY_SEPARATOR . $path;
}

if(!is_dir($this->element['directory'])){
$hideDefault = (string) $this->element['hide_default'];

Expand Down

0 comments on commit a28cc7e

Please sign in to comment.