diff --git a/.gitignore b/.gitignore index b363a7e..5070f40 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,7 @@ vendor/**/tests vendor/**/build_phar.php !vendor/**/*.php -# Ignore local node modules, unit testing logs, api docs and eclipse project files +# Ignore local node modules, unit testing logs, api docs and IDE project files js/node_modules/ js/test.log tst/log/ @@ -39,3 +39,4 @@ tst/ConfigurationCombinationsTest.php .buildpath .project .externalToolBuilders +.c9 diff --git a/js/privatebin.js b/js/privatebin.js index 1566ea3..d48e0fb 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4099,7 +4099,7 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) { DiscussionViewer.addComment( comment, CryptTool.decipher(key, password, comment.data), - CryptTool.decipher(key, password, comment.meta.nickname) + comment.meta.nickname ? CryptTool.decipher(key, password, comment.meta.nickname) : '' ); } diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 5741c64..9716ed2 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -75,7 +75,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index 613e5a0..b42ceef 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -54,7 +54,7 @@ if ($QRCODE): - +