// Common functions
require_once 'plc_functions.php';
-require_once 'plc_sorts.php';
// find person roles
$_person= $plc->person;
// TAGS -------------------------------------------------
// tag deletion
-if( $_GET['rem_id'] ) {
+if( get_array($_GET, 'rem_id') ) {
// get the id of the tag to remove from GET
- $tag_id= intval( $_GET['rem_id'] );
+ $tag_id= intval( get_array($_GET, 'rem_id') );
// get slice_id
$tag_info= $api->GetSliceTags( array( $tag_id ), array( "slice_id" ) );
}
-// delete tag types
-if( $_GET['del_type'] ) {
- // get vars
- $type_id= intval( $_GET['del_type'] );
-
- // delete it!
- $api->DeleteTagType( $type_id );
-
- plc_redirect( "tags.php?type=slice" );
-}
-
-
-
/*
// Print footer
include 'plc_footer.php';