mirror of
https://github.com/unraid/webgui.git
synced 2026-05-24 23:29:48 -05:00
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:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user