From c9c170700e23d9ed90915f9db1c45cba9c2f1b75 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 23 Sep 2019 13:46:34 +0800 Subject: [PATCH] Partial Fix #6039 - current member status not showing --- Pman/Login.php | 2 +- Pman/Roo.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Pman/Login.php b/Pman/Login.php index f7e1047..05d0f17 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -47,7 +47,7 @@ class Pman_Login extends Pman { $this->initErrorHandling(); - //DB_DataObject::DebugLevel(1); + // DB_DataObject::DebugLevel(5); if (!empty($_REQUEST['logout'])) { return $this->logout(); } diff --git a/Pman/Roo.php b/Pman/Roo.php index 7fdb8f6..261b1f8 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -451,8 +451,7 @@ class Pman_Roo extends Pman $rooar = method_exists($data, 'toRooArray'); while($data->fetch()) { $x = $rooar ? $data->toRooArray($q) : $data->toArray(); - - + if ($cols == '*') { /// did we get cols sent to us? $cols = array_keys($x); } -- 2.39.2