Skip to content

Commit

Permalink
Revert 39329 due to issue in media folders of template manager (#39943)
Browse files Browse the repository at this point in the history
Co-authored-by: Quy <[email protected]>
  • Loading branch information
brianteeman and Quy authored Feb 27, 2023
1 parent 2a8b6bb commit 6798f07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,7 @@ public function getMediaFiles()
$template->xmldata = TemplatesHelper::parseXMLTemplateFile($template->client_id === 0 ? JPATH_ROOT : JPATH_ROOT . '/administrator', $template->name);
}

if (empty($template->xmldata->inheritable) || (isset($template->xmldata->parent) && $template->xmldata->parent === '')) {
if (!isset($template->xmldata->inheritable) || (isset($template->xmldata->parent) && $template->xmldata->parent === '')) {
return $result;
}

Expand Down

0 comments on commit 6798f07

Please sign in to comment.