title: Laravel: Undefined index - array key not existant
body: <p>I've been looking into this problem for a couple of days now and I just can't seem to figure it out. </p>
  
  <p>I'm trying to do something simple, I thought, just looping through an array.
  This is a screenshot of the array: <a href="http://cl.ly/image/3j2J3x1C3B0j" rel="nofollow">http://cl.ly/image/3j2J3x1C3B0j</a>
  I'm trying to loop through all the '<strong>Skills</strong>' array, there the "<strong>Skill</strong>' array and inside that grabbing the "<strong>Icon</strong>". 
  For this I made 2 loops:</p>
  
  <pre><code>    foreach ($hero_data['skills'] as $skills)
              {
                  foreach ($skills as $skill)
              {
                  //print_r($skill['skill']);
              }
      }
  </code></pre>
  
  <p>Unfortunaly this doesn't work, in laravel. I'm getting the "Undefined index: skill" error. It does work when I tried it outside , as a standalone script.</p>
  
  <p>Out side both of the loops I can select the icon with:</p>
  
  <pre><code>    print_r($hero_data['skills']['active'][0]['skill']['icon']);
  </code></pre>
  
  <p>I'm sure I'm overlooking something stupid...</p>
  
  <p>Thanks a lot for the help,</p>