Commit f8a103a6 authored by Leigh Stoller's avatar Leigh Stoller

Minor cleanup.

parent 86382165
......@@ -980,10 +980,11 @@ class InstanceSliver
return;
}
$uuid = $instance->uuid();
$safe_urn = addslashes($urn);
$query_result =
DBQueryWarn("select * from apt_instance_aggregates ".
"where uuid='$uuid' and aggregate_urn='$urn'");
"where uuid='$uuid' and aggregate_urn='$safe_urn'");
if (!$query_result || !mysql_num_rows($query_result)) {
$this->sliver = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment