All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit f8a103a6 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor cleanup.

parent 86382165
......@@ -980,10 +980,11 @@ class InstanceSliver
$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