RooGetTrait.php
authoredward <edward@roojs.com>
Wed, 30 Mar 2016 10:55:17 +0000 (18:55 +0800)
committeredward <edward@roojs.com>
Wed, 30 Mar 2016 10:55:17 +0000 (18:55 +0800)
RooGetTrait.php

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