From b4b0a0aa7c7e8a598e296f42a55e96d614abff05 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Wed, 13 Jun 2007 04:28:23 +0000 Subject: [PATCH] after remove a tag, resort the selected tag array git-svn-id: file:///var/lib/svn/phpfspot/trunk@88 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 1 + 1 file changed, 1 insertion(+) 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() -- 2.17.1