projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5da9034
)
GroupCountries.php
author
Chris
<chris@roojs.com>
Wed, 19 Mar 2014 05:15:24 +0000
(13:15 +0800)
committer
Chris
<chris@roojs.com>
Wed, 19 Mar 2014 05:15:24 +0000
(13:15 +0800)
GroupCountries.php
patch
|
blob
|
history
diff --git
a/GroupCountries.php
b/GroupCountries.php
index
e0e84a8
..
69f4f11
100644
(file)
--- a/
GroupCountries.php
+++ b/
GroupCountries.php
@@
-52,7
+52,7
@@
class Pman_Core_GroupCountries extends Pman
}
$c = explode(',', $p->countries);
$c[] = $_REQUEST['country'];
-
k
sort($c);
+ sort($c);
print_r($c);
// $p->countries = implode(',', $c);
// $p->update();
@@
-70,7
+70,7
@@
class Pman_Core_GroupCountries extends Pman
if(($key = array_search($_REQUEST['country'], $c)) !== false) {
unset($c[$key]);
}
-
k
sort($c);
+ sort($c);
print_r($c);
// $p->countries = implode(',', $c);
// $p->update();