Skip to content

Commit

Permalink
fix missing icons for file attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Mar 6, 2021
1 parent ba6533e commit 00c239d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions class/Form/ItemForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

use Xmf\Request;
use XoopsModules\Publisher\{Constants,
Common\Configurator,
Form,
FormDateTime,
Helper,
Expand Down Expand Up @@ -140,6 +141,8 @@ public function createElements($obj)
{
$helper = Helper::getInstance();
$timeoffset = null;
$configurator = new Configurator();
$icons = $configurator->icons;

$allowedEditors = Utility::getEditors($helper->getHandler('Permission')->getGrantedItems('editors'));

Expand Down

0 comments on commit 00c239d

Please sign in to comment.