projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a69f7
)
VerifyAccess.php
author
edward
<edward@roojs.com>
Thu, 15 Feb 2018 05:11:42 +0000
(13:11 +0800)
committer
edward
<edward@roojs.com>
Thu, 15 Feb 2018 05:11:42 +0000
(13:11 +0800)
VerifyAccess.php
patch
|
blob
|
history
diff --git
a/VerifyAccess.php
b/VerifyAccess.php
index
f6eba05
..
5131224
100644
(file)
--- a/
VerifyAccess.php
+++ b/
VerifyAccess.php
@@
-65,7
+65,9
@@
class Pman_Core_VerifyAccess extends Pman
$o = clone($core_ip_access);
- $core_ip_access->status = empty($_REQUEST['status']) ? 0 : $_REQUEST['status'];
+ $core_ip_access->setFrom(array(
+ 'status' => empty($_REQUEST['status']) ? 0 : $_REQUEST['status']
+ ));
if($core_ip_access->status == -2){
@@
-77,6
+79,8
@@
class Pman_Core_VerifyAccess extends Pman
$core_ip_access->update($o);
+ $this->jok('OK');
+
}