From 28ac765f5bb2b41db790893b8d0ec8c096721e2f Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 19 Mar 2014 13:06:19 +0800 Subject: [PATCH] GroupCountries.php --- GroupCountries.php | 1 + 1 file changed, 1 insertion(+) diff --git a/GroupCountries.php b/GroupCountries.php index f20b20a2..1b9e16fb 100644 --- a/GroupCountries.php +++ b/GroupCountries.php @@ -52,6 +52,7 @@ class Pman_Core_GroupCountries extends Pman } $c = explode(',', $p->countries); $c[] = $_REQUEST['country']; + ksort($c); $p->countries = implode(',', $c); $p->update(); } -- 2.39.2