mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
Merge pull request #7208 from nupplaphil/bug/6916-filetag
Adding null checks before FileTag method (fix fatal)
This commit is contained in:
commit
f0de19dd8a
4 changed files with 8 additions and 8 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue