own3mall hace 8 años
padre
commit
ba0f8342a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      modules/cron/shared_cron_functions.php

+ 1 - 1
modules/cron/shared_cron_functions.php

@@ -216,7 +216,7 @@ function updateCronJobsToNewApi()
 					$home_ip_ports = $db->getHomeIpPorts($home_id);
 					if(isset($home_ip_ports[0]))
 					{
-						list($ip_id,$ip,$port,$force_mod_id) = $home_ip_ports[0];
+						@list($ip_id,$ip,$port,$force_mod_id) = $home_ip_ports[0];
 						switch ($action) {
 							case "stopServer":
 								$command = "wget -qO- \"${panelURL}/ogp_api.php?gamemanager/stop&token=${token}&ip=${ip}&port=${port}&mod_key=${mod_key}\" --no-check-certificate > /dev/null 2>&1";