]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix errors in convert addon
authorArt4 <art4@wlabs.de>
Sat, 30 Nov 2024 19:28:38 +0000 (19:28 +0000)
committerArt4 <art4@wlabs.de>
Sat, 30 Nov 2024 19:28:38 +0000 (19:28 +0000)
convert/convert.php

index 2c97e2aa69f8ee2e5b2ec57121ad29beca6106fa..2545974c196d1d74289d2c21bbfa15c773e9b4c0 100644 (file)
@@ -181,7 +181,7 @@ function convert_content() {
                }
        }
 
-       $o .= '<h3>Unit Conversions</h3>';
+       $o = '<h3>Unit Conversions</h3>';
 
        if (isset($_POST['from_unit']) && isset($_POST['value'])) {
                $o .= ($conv->getTable(intval($_POST['value']), $_POST['from_unit'], $_POST['to_unit'], 5)) . '</p>';