Make single-identity posting work again v0.1.1
authorChristian Weiske <cweiske@cweiske.de>
Tue, 30 May 2017 21:53:40 +0000 (23:53 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 30 May 2017 21:53:40 +0000 (23:53 +0200)
commentform.phtml

index d1ffd82..24bcb1a 100644 (file)
@@ -51,7 +51,7 @@
    ></textarea><br/>
 
   <?php if (count($accounts) == 1) { ?>
-   <?php print_hidden('me', htmlspecialchars(reset($accounts))); ?>
+   <?php print_hidden('me', htmlspecialchars(reset($accountUrls))); ?>
   <?php } else { ?>
    <label for="micropub-me">Identity:</label>
    <?php print_select('micropub-me', $defaultAccount, $accountUrls,