From: Chris Date: Wed, 19 Mar 2014 05:06:19 +0000 (+0800) Subject: GroupCountries.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=28ac765f5bb2b41db790893b8d0ec8c096721e2f GroupCountries.php --- 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(); }