mirror of https://github.com/MISP/MISP
chg: [genericElement] Allow default organisation to be used as a picture
- The default MISP organisation uses the MISP logopull/6120/head
parent
4fc8d9d22d
commit
7a6ce50fd2
|
@ -15,7 +15,7 @@
|
|||
foreach ($orgs as $org) {
|
||||
$i++;
|
||||
if (!empty($org['id']) || !empty($org['name'])) {
|
||||
if ($field['fields']['allow_picture'] && !empty($org['id'])) {
|
||||
if ($field['fields']['allow_picture']) {
|
||||
echo $this->OrgImg->getOrgImg(array('name' => $org['name'], 'id' => $org['id'], 'size' => 24));
|
||||
} else {
|
||||
echo sprintf(
|
||||
|
|
Loading…
Reference in New Issue