projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efba048
)
Pman/Login.php
author
edward
<edward@roojs.com>
Tue, 9 Jan 2018 09:09:11 +0000
(17:09 +0800)
committer
edward
<edward@roojs.com>
Tue, 9 Jan 2018 09:09:11 +0000
(17:09 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
2148ae7
..
e7737d6
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-470,8
+470,8
@@
class Pman_Login extends Pman
$core_ip_access = DB_DataObject::factory('core_ip_access');
- if(!
$core_ip_access
->count()){
-
+ if(!
DB_DataObject::factory('core_ip_access')
->count()){
+
$core_ip_access = DB_DataObject::factory('core_ip_access');
$core_ip_access->setFrom(array(
@@
-483,6
+483,8
@@
class Pman_Login extends Pman
$core_ip_access->insert();
}
+ $core_ip_access = DB_DataObject::factory('core_ip_access');
+
$core_ip_access->setFrom(array(
'i'
));