projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VerifyAccess.php
[Pman.Core]
/
VerifyAccess.php
diff --git
a/VerifyAccess.php
b/VerifyAccess.php
index
5544432
..
6d4a2e2
100644
(file)
--- a/
VerifyAccess.php
+++ b/
VerifyAccess.php
@@
-47,15
+47,6
@@
class Pman_Core_VerifyAccess extends Pman
}
function post()
}
function post()
- {
- if(!empty($_REQUEST['_to_data'])){
- $this->toData();
- }
-
-
- }
-
- function toData()
{
$core_ip_access = DB_DataObject::factory('core_ip_access');
{
$core_ip_access = DB_DataObject::factory('core_ip_access');
@@
-68,8
+59,14
@@
class Pman_Core_VerifyAccess extends Pman
$this->jerr('Invalid URL');
}
$this->jerr('Invalid URL');
}
- $this->jdata($core_ip_access->toArray());
+ if(!empty($_REQUEST['_to_data'])){
+ $this->jdata($core_ip_access->toArray());
+ }
+
+
+
}
}
+
}
}