summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpfspot.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index c1bf643..0dea249 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -183,6 +183,7 @@ class PHPFSPOT {
if(isset($_SESSION['selected_tags'])) {
$key = array_search($tag, $_SESSION['selected_tags']);
unset($_SESSION['selected_tags'][$key]);
+ sort($_SESSION['selected_tags']);
}
} // delTag()