title: Can't get value from array
body: <p>I'm trying to output the value of the email value of an array, but have problems doing so.
  The array is based on json_decode()</p>
  
  <p>This is the error I receive</p>
  
  <pre><code>Fatal error: Cannot use object of type stdClass as array in /home/.... line 57
  </code></pre>
  
  <p>JSON (value of: $this->bck_content)</p>
  
  <pre><code>{"email":"test@email.com","membership_id":"0","fname":"Kenneth","lname":"Poulsen","userlevel":"1","created":"2012-04-23 10:57:45","lastlogin":"2012-04-23 10:58:52","active":"y"}
  </code></pre>
  
  <p>My code</p>
  
  <pre><code>    # Display requested user details
      $details_array = json_decode($this-&gt;bck_content);
  
      $value = $details_array['email'];
      print $value;
  </code></pre>