Reader/Login.php
authorAlan Knowles <alan@roojs.com>
Tue, 11 Oct 2016 05:04:56 +0000 (13:04 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 11 Oct 2016 05:04:56 +0000 (13:04 +0800)
Reader/Login.php

index e66b5de..7c5f36e 100644 (file)
@@ -29,7 +29,7 @@ class Reader_Login extends Reader
     {
         
         //DB_DataObject::debugLevel(1);
-        $p =  DB_DataObject::factory('person');
+        $p =  DB_DataObject::factory('core_person');
         if (empty($_REQUEST['email']) || !$p->get('email', $_REQUEST['email'])) {
             $this->errors['email'] = 1;
              return empty($_REQUEST['isAjax']) ? true : $this->jerr("user/pass err");