]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #658 from ArthurHoaro/hotfix/plugin-desc-bug
authorVirtualTam <virtualtam+github@flibidi.net>
Sun, 16 Oct 2016 14:37:46 +0000 (16:37 +0200)
committerGitHub <noreply@github.com>
Sun, 16 Oct 2016 14:37:46 +0000 (16:37 +0200)
Bugfix: display plugin parameter description only if it exists

tpl/pluginsadmin.html

index 966360ea049c6bcbe97e868d6fa29d25b20b6526..672f49938d68fae28750d9d55d88eef941192929 100644 (file)
                     <div class="float_label">
                       <label for="{$key}">
                         <code>{$key}</code><br>
-                        {$value.desc}
+                        {if="isset($value.desc)"}
+                          {$value.desc}
+                        {/if}
                       </label>
                     </div>
                     <div class="float_input">