summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-14 19:13:26 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-14 19:13:26 +0100
commitd7fc5f46a8b6faec4ec0c18089d94d21e505c36c (patch)
tree0500e514d40db5052f82812d08743718fca50306 /application/controllers
parentb8facbbd7a9a29c6274c435932b9c810155e2460 (diff)
Use assoc array for service/user/apikeys
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index 5b4e85141..33d0efb6b 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -115,7 +115,7 @@ class User extends MY_Controller {
$userid = $this->muser->get_userid();
$apikeys = \service\user::apikeys($userid);
- $this->data["query"] = $apikeys;
+ $this->data["query"] = $apikeys["apikeys"];
$this->load->view('header', $this->data);
$this->load->view($this->var->view_dir.'apikeys', $this->data);