title: Codeigniter session->userdata() returns the opposite....!
body: <p>I'm trying to fix an issue with permissions in my app, I have a session->userdata('usrclass') set when login with different account class.</p>
  
  <p>I have an ADMIN user who has a usrclass of <code>ADMIN</code> and I need to show some content based on that.</p>
  
  <p>BUT when I do this:</p>
  
  <pre><code>&lt;?= ($this-&gt;session-&gt;userdata('usrclass') == "ADMIN") ? 'yes' : 'no'; ?&gt;
  </code></pre>
  
  <p>It outputs "no"... While it should output "yes". So I tried reading into the sessiondata with this code:</p>
  
  <pre><code>&lt;?= echo $this-&gt;session-&gt;userdata('usrclass') ?&gt;
  </code></pre>
  
  <p>This outputs the word <code>ADMIN</code>... This is a weird behavior, I've tried using <code>===</code>, I've tried to figure out other stuff but couldn't.</p>
  
  <p>What could it be?</p>
  
  <p>I'm going to attach some pics of this:</p>
  
  <p><img src="https://i.stack.imgur.com/gTs1g.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/DCFq3.png" alt="enter image description here"></p>