Use exit instead of return to prevent php warnings

This commit is contained in:
Tom Mortensen
2025-02-24 09:10:48 -08:00
parent 78ea6f4a05
commit 9f572f2001

View File

@@ -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='$(&quot;#drop&quot;).click()' style='cursor:pointer' title='"._('Click to select PNG file')."'>";