From 250ef45915c291a51d9776b485b5963c5837fa5f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 5 Feb 2006 21:30:53 +0000 Subject: [PATCH] Set $this->values[] in fetch() if they aren't set --- api.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api.php b/api.php index e9951b1..d363558 100644 --- a/api.php +++ b/api.php @@ -373,6 +373,14 @@ class API $this->objdata = $result; + foreach ($this->objdata AS $key => $value) + { + if (!isset($this->values["$key"])) + { + $this->values["$key"] = $value; + } + } + $this->call_relations('fetch'); } -- 2.43.5