From: Andreas Unterkircher Date: Wed, 13 Jun 2007 04:28:23 +0000 (+0000) Subject: after remove a tag, resort the selected tag array X-Git-Tag: phpfspot-1.2~247 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=b4b0a0aa7c7e8a598e296f42a55e96d614abff05;hp=d1dc26e8f2fd6212d37d2fcd0ff5a2968cac2faf after remove a tag, resort the selected tag array git-svn-id: file:///var/lib/svn/phpfspot/trunk@88 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- 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()