Commit 25d1fe7d authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(management) Fix small errors

Showing with 2 additions and 2 deletions
+2 -2
...@@ -96,7 +96,7 @@ class TabFilterElement extends FilterElement ...@@ -96,7 +96,7 @@ class TabFilterElement extends FilterElement
$inputs['filter_tab_'.$class] = array( $inputs['filter_tab_'.$class] = array(
'name' => $tab['infos']['plShortName'], 'name' => $tab['infos']['plShortName'],
'desc' => $tab['infos']['plShortName'].' '.$tab['filter'], 'desc' => $tab['infos']['plShortName'].' '.$tab['filter'],
'icon' => $tab['infos']['plSmallIcon'], 'icon' => (isset($tab['infos']['plSmallIcon']) ? $tab['infos']['plSmallIcon'] : NULL),
'checked' => $tab['checked'], 'checked' => $tab['checked'],
); );
} }
......
...@@ -57,7 +57,7 @@ class PropertiesColumn extends Column ...@@ -57,7 +57,7 @@ class PropertiesColumn extends Column
/* Main tab is always there */ /* Main tab is always there */
$pInfos = pluglist::pluginInfos($infos['mainTab']); $pInfos = pluglist::pluginInfos($infos['mainTab']);
$result = '<input type="image" src="'.htmlentities($pInfos['plSmallIcon'], ENT_COMPAT, 'UTF-8').'" '. $result = '<input type="image" src="'.htmlentities((isset($pInfos['plSmallIcon']) ? $pInfos['plSmallIcon'] : $infos['icon']), ENT_COMPAT, 'UTF-8').'" '.
'alt="'.$pInfos['plShortName'].'" title="'.$pInfos['plShortName'].'" '. 'alt="'.$pInfos['plShortName'].'" title="'.$pInfos['plShortName'].'" '.
'name="listing_edit_tab_'.$infos['mainTab'].'_'.$entry->row.'"/>'; 'name="listing_edit_tab_'.$infos['mainTab'].'_'.$entry->row.'"/>';
if (!empty($entry)) { if (!empty($entry)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment