You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add_SQL_line("DELETE FROM poolmap_vm WHERE poolid='$poolid'");
}
while ($vm_count>=$x){
$vmid=addslashes($vmlist[$x]);
if (!empty($vmid)){
add_SQL_line("INSERT INTO poolmap_vm (poolid, vmid) SELECT * FROM (SELECT '$poolid' AS pool, '$vmid' AS vm) AS tmp WHERE NOT EXISTS (SELECT vmid FROM poolmap_vm WHERE poolid = '$poolid' AND vmid='$vmid') LIMIT 1;");