fix bug with hardcoded tag name
smbaker [Tue, 27 Nov 2012 04:09:26 +0000 (20:09 -0800)]
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);
     }
 }