mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
Use exit instead of return to prevent php warnings
This commit is contained in:
@@ -17,7 +17,7 @@ Tag="user"
|
||||
<?
|
||||
if (!array_key_exists($name, $users)) {
|
||||
echo "<script>done()</script>";
|
||||
return;
|
||||
exit;
|
||||
}
|
||||
$user = "/boot/config/plugins/dynamix/users/$name.png";
|
||||
$void = "<img src='/webGui/images/user.png' width='48' height='48' id='image' onclick='$("#drop").click()' style='cursor:pointer' title='"._('Click to select PNG file')."'>";
|
||||
|
||||
Reference in New Issue
Block a user