Merge pull request #7208 from nupplaphil/bug/6916-filetag

Adding null checks before FileTag method (fix fatal)
This commit is contained in:
Hypolite Petovan
2019-05-31 01:47:52 -04:00
committed by GitHub
4 changed files with 8 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ class SaveTag extends BaseModule
}
// return filer dialog
$filetags = PConfig::get(local_user(), 'system', 'filetags');
$filetags = PConfig::get(local_user(), 'system', 'filetags', '');
$filetags = Model\FileTag::fileToArray($filetags);
$tpl = Renderer::getMarkupTemplate("filer_dialog.tpl");