summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-13 04:28:23 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-13 04:28:23 +0000
commitb4b0a0aa7c7e8a598e296f42a55e96d614abff05 (patch)
tree877380266430f20ae624a8d1e61ec6869999967e /phpfspot.class.php
parentd1dc26e8f2fd6212d37d2fcd0ff5a2968cac2faf (diff)
after remove a tag, resort the selected tag array
git-svn-id: file:///var/lib/svn/phpfspot/trunk@88 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot.class.php')
-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()