1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-23 07:52:07 +02:00

Issue #5482 Warning removal

This commit is contained in:
camer0n
2025-04-29 10:20:35 -07:00
parent b1254b68b4
commit f77471106b

View File

@@ -2233,7 +2233,7 @@ class themeHandler
$text .= "<tr><td><b>".LAN_CATEGORY."</b></td><td>".$theme['category']."</td></tr>";
}
if(is_dir(e_THEME.$theme['path']."/.git"))
if(!empty($theme['path']) && is_dir(e_THEME.$theme['path']."/.git"))
{
$text .= "<tr><td><b>Developer</b></td>
<td >".$this->frm->admin_button('git_pull', $theme['path'], 'primary', e107::getParser()->toGlyph('fa-refresh'). "Git Sync")."</td></tr>";