fix bug with hardcoded tag name
[raven.git] / apps / gacksadmin / gacks_functions.php
index 4e6f2ee..7ade13b 100644 (file)
@@ -667,7 +667,7 @@ function set_slice_tag($api, $slicename, $tagname, $value)
             $api->UpdateSliceTag($tags[0]['slice_tag_id'], $value);
         }
     } else {
-        $api->AddSliceTag($slicename, "vref", $value);
+        $api->AddSliceTag($slicename, $tagname, $value);
     }
 }