issue100, add/remove tag and tag-condition use HTTP POST
[phpfspot.git] / phpfspot.class.php
index 09540400137b2b048bbd82c5a3f9abc78c56b9c5..8646ff1d0b06f8bd7d9f8629f86a40b715f479bf 100644 (file)
@@ -643,6 +643,9 @@ class PHPFSPOT {
 
       if(!in_array($tag, $_SESSION['selected_tags']))
          array_push($_SESSION['selected_tags'], $tag);
+
+
+      return "ok";
    
    } // addTag()
 
@@ -663,6 +666,8 @@ class PHPFSPOT {
          sort($_SESSION['selected_tags']);
       }
 
+      return "ok";
+
    } // delTag()
 
    /**
@@ -1447,6 +1452,8 @@ class PHPFSPOT {
    {
       $_SESSION['tag_condition'] = $mode;
 
+      return "ok";
+
    } // setTagCondition()
 
    /**