Don't output errors from remote commands as it breaks ui

This commit is contained in:
Isaac Connor committed 2023-02-09 18:46:01 -05:00
1 parent 357ce14c94
commit ebb37ebc98
1 file changed
+1 -1
+1 -1
View File
@@ -152,7 +152,7 @@ class Server extends ZM_Object {
$context = stream_context_create();
try {
$result = file_get_contents($url, false, $context);
$result = @file_get_contents($url, false, $context);
if ($result === FALSE) { /* Handle error */
Error("Error using $url");
}