mirror of
https://github.com/e107inc/e107.git
synced 2025-07-24 00:12:24 +02:00
Issue #5482 Warning removal
This commit is contained in:
@@ -2233,7 +2233,7 @@ class themeHandler
|
|||||||
$text .= "<tr><td><b>".LAN_CATEGORY."</b></td><td>".$theme['category']."</td></tr>";
|
$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>
|
$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>";
|
<td >".$this->frm->admin_button('git_pull', $theme['path'], 'primary', e107::getParser()->toGlyph('fa-refresh'). "Git Sync")."</td></tr>";
|
||||||
|
Reference in New Issue
Block a user