mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 14:10:21 +00:00
Fix errors in convert addon
This commit is contained in:
parent
cf8a7870f3
commit
1860e732ae
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||
|
|
Loading…
Reference in a new issue