From b4b0a0aa7c7e8a598e296f42a55e96d614abff05 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Wed, 13 Jun 2007 04:28:23 +0000 Subject: 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(+) (limited to 'phpfspot.class.php') 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() -- cgit v1.2.3-18-g5258