DataObjects/Core_person.php
authorbenny <benny@roojs.com>
Tue, 31 Jul 2018 04:59:53 +0000 (12:59 +0800)
committerbenny <benny@roojs.com>
Tue, 31 Jul 2018 04:59:53 +0000 (12:59 +0800)
DataObjects/Core_person.php

index 9801fdf..38e894f 100644 (file)
@@ -1117,7 +1117,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
          
         $p = DB_DataObject::Factory('core_group_member');
         $p->user_id = $this->id;
-        $mem = $p->fetchAll();
+        $mem = $p->fetchAll();  // fetch all the rows and set the $mem variable to the rows data, just like mysqli_fetch_assoc
 
         $e->logDeletedRecord($p);