Merge pull request #2032 from dlandon/share_edit_continues_to_generate_php_warnings_and_errors

Bug: Use exit instead of return to prevent php warnings.
This commit is contained in:
tom mortensen
2025-02-21 12:10:08 -08:00
committed by GitHub
+1 -1
View File
@@ -17,7 +17,7 @@ Tag="share-alt-square"
<?
if (!empty($name) && !array_key_exists($name, $shares)) {
echo "<script>done()</script>";
return;
exit;
}
$width = [123,300];