RooTrait.php
authoredward <edward@roojs.com>
Thu, 31 Mar 2016 05:01:54 +0000 (13:01 +0800)
committeredward <edward@roojs.com>
Thu, 31 Mar 2016 05:01:54 +0000 (13:01 +0800)
RooTrait.php

index e6b638b..e24d23b 100644 (file)
@@ -132,7 +132,7 @@ trait Pman_Core_RooTrait {
         }
         // different symantics on all these calls??
         if (method_exists($x, 'toRooSingleArray')) {
-            $this->jok($x->toRooSingleArray($this->getAuthUser(), $req));
+            $this->jok($x->toRooSingleArray($this->authUser, $req));
         }
         if (method_exists($x, 'toRooArray')) {
             $this->jok($x->toRooArray($req));