FIX
This commit is contained in:
parent
6f63d55a96
commit
bfbf803f97
|
|
@ -20,7 +20,6 @@ class User extends Model
|
||||||
if ($res)
|
if ($res)
|
||||||
{
|
{
|
||||||
$res = $res->fetch(PDO::FETCH_ASSOC);
|
$res = $res->fetch(PDO::FETCH_ASSOC);
|
||||||
print_r($res['id']);
|
|
||||||
$user = $this->getByPK((int)$res['id']);
|
$user = $this->getByPK((int)$res['id']);
|
||||||
|
|
||||||
return $user;
|
return $user;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue