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 d1ffd8275ed3229c9cd7d1404cc79c09e9452134..24bcb1af31709bd62c7a5ec39dd74c67bc212e01 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,