Skip to content

Commit

Permalink
Merge branch '4.2-dev' into fix_date_field_error_on_user_registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Feb 27, 2023
2 parents 83387a6 + 6798f07 commit cd4e49c
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 cd4e49c

Please sign in to comment.